Add visibility for all class elements (#20557)

This commit is contained in:
Maksim Spirkov
2025-10-02 02:27:23 +04:00
committed by GitHub
parent 813dfc07cc
commit c82da8dc82
73 changed files with 328 additions and 331 deletions

View File

@ -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.