Added string version of all events for action tracking
This commit is contained in:
@@ -38,4 +38,14 @@ final class UserLoggedOutEvent implements UserEventInterface
|
||||
{
|
||||
$this->user = $user;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the event description.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return 'User logged out.';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user