Add doc blocks
This commit is contained in:
parent
c507279c75
commit
2659ae708f
|
|
@ -100,6 +100,10 @@ class User extends UserBase
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* After create event
|
||||
* @return void
|
||||
*/
|
||||
public function afterCreate()
|
||||
{
|
||||
$this->restorePurgedValues();
|
||||
|
|
@ -109,12 +113,20 @@ class User extends UserBase
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* After login event
|
||||
* @return void
|
||||
*/
|
||||
public function afterLogin()
|
||||
{
|
||||
parent::afterLogin();
|
||||
Event::fire('backend.user.login', [$this]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sends an invitation to the user using template "backend::mail.invite".
|
||||
* @return void
|
||||
*/
|
||||
public function sendInvitation()
|
||||
{
|
||||
$data = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue