Add doc blocks

This commit is contained in:
Samuel Georges 2016-09-09 06:16:07 +10:00
parent c507279c75
commit 2659ae708f
1 changed files with 12 additions and 0 deletions

View File

@ -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 = [