re #22 added impersonation

This commit is contained in:
Antonio Ramirez
2017-07-18 23:47:23 +02:00
parent 2301ccfe45
commit d3b4161f7c
6 changed files with 122 additions and 5 deletions

View File

@ -34,6 +34,8 @@ class UserEvent extends Event
const EVENT_AFTER_BLOCK = 'afterBlock';
const EVENT_BEFORE_LOGOUT = 'beforeLogout';
const EVENT_AFTER_LOGOUT = 'afterLogout';
const EVENT_BEFORE_SWITCH_IDENTITY = 'beforeSwitchIdentity';
const EVENT_AFTER_SWITCH_IDENTITY = 'afterSwitchIdentity';
protected $user;