mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-30 01:56:35 +08:00
Add visibility for all class elements (#20557)
This commit is contained in:
@ -64,10 +64,10 @@ use yii\rbac\CheckAccessInterface;
|
||||
*/
|
||||
class User extends Component
|
||||
{
|
||||
const EVENT_BEFORE_LOGIN = 'beforeLogin';
|
||||
const EVENT_AFTER_LOGIN = 'afterLogin';
|
||||
const EVENT_BEFORE_LOGOUT = 'beforeLogout';
|
||||
const EVENT_AFTER_LOGOUT = 'afterLogout';
|
||||
public const EVENT_BEFORE_LOGIN = 'beforeLogin';
|
||||
public const EVENT_AFTER_LOGIN = 'afterLogin';
|
||||
public const EVENT_BEFORE_LOGOUT = 'beforeLogout';
|
||||
public const EVENT_AFTER_LOGOUT = 'afterLogout';
|
||||
|
||||
/**
|
||||
* @var string the class name of the [[identity]] object.
|
||||
|
||||
Reference in New Issue
Block a user