Skip to content

Commit

Permalink
[DB] update proxies to match entities
Browse files Browse the repository at this point in the history
  • Loading branch information
barryo committed Jan 8, 2019
1 parent f3a8e4e commit 386905e
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
2 changes: 1 addition & 1 deletion database/Proxies/__CG__EntitiesContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ public function getNotes()
/**
* {@inheritDoc}
*/
public function setUser(\Entities\User $user)
public function setUser($user)
{

$this->__initializer__ && $this->__initializer__->__invoke($this, 'setUser', [$user]);
Expand Down
26 changes: 24 additions & 2 deletions database/Proxies/__CG__EntitiesUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ public function __isset($name)
public function __sleep()
{
if ($this->__isInitialized__) {
return ['__isInitialized__', 'name', 'username', 'password', 'email', 'authorisedMobile', 'uid', 'privs', 'disabled', 'lastupdated', 'lastupdatedby', 'creator', 'created', 'id', 'LastLogins', '' . "\0" . 'Entities\\User' . "\0" . 'ApiKeys', 'Preferences', 'Customer', 'Children', 'Contact', '_className', '_preferenceClassName', '' . "\0" . 'Entities\\User' . "\0" . '_cache', '' . "\0" . 'Entities\\User' . "\0" . '_namespace'];
return ['__isInitialized__', 'name', 'username', 'password', 'email', 'authorisedMobile', 'uid', 'privs', 'disabled', 'lastupdated', 'lastupdatedby', 'creator', 'created', 'remember_token', 'id', 'LastLogins', '' . "\0" . 'Entities\\User' . "\0" . 'ApiKeys', 'Preferences', 'Customer', 'Children', 'Contact', '_className', '_preferenceClassName'];
}

return ['__isInitialized__', 'name', 'password', 'email', 'authorisedMobile', 'uid', 'privs', 'disabled', 'lastupdated', 'lastupdatedby', 'creator', 'created', 'id', 'LastLogins', '' . "\0" . 'Entities\\User' . "\0" . 'ApiKeys', 'Preferences', 'Customer', 'Children', 'Contact', '_className', '_preferenceClassName', '' . "\0" . 'Entities\\User' . "\0" . '_cache', '' . "\0" . 'Entities\\User' . "\0" . '_namespace'];
return ['__isInitialized__', 'name', 'password', 'email', 'authorisedMobile', 'uid', 'privs', 'disabled', 'lastupdated', 'lastupdatedby', 'creator', 'created', 'remember_token', 'id', 'LastLogins', '' . "\0" . 'Entities\\User' . "\0" . 'ApiKeys', 'Preferences', 'Customer', 'Children', 'Contact', '_className', '_preferenceClassName'];
}

/**
Expand Down Expand Up @@ -794,6 +794,28 @@ public function getRememberTokenName()
return parent::getRememberTokenName();
}

/**
* {@inheritDoc}
*/
public function sendPasswordResetNotification($token)
{

$this->__initializer__ && $this->__initializer__->__invoke($this, 'sendPasswordResetNotification', [$token]);

return parent::sendPasswordResetNotification($token);
}

/**
* {@inheritDoc}
*/
public function getEmailForPasswordReset()
{

$this->__initializer__ && $this->__initializer__->__invoke($this, 'getEmailForPasswordReset', []);

return parent::getEmailForPasswordReset();
}

/**
* {@inheritDoc}
*/
Expand Down

0 comments on commit 386905e

Please sign in to comment.