src/entities/User.php
public static function getStatusesArray() : array
    {
        return [
            self::STATUS_BLOCKED => Yii::t('setrun/user', 'Blocked'),
            self::STATUS_ACTIVE  => Yii::t('setrun/user', 'Active'),
            self::STATUS_WAIT    => Yii::t('setrun/user', 'Wait')
        ];
    }
public static function getStatusesArray() : array
    {
        return [
            self::STATUS_BLOCKED => Yii::t('setrun/user', 'Blocked'),
            self::STATUS_ACTIVE  => Yii::t('setrun/user', 'Active'),
            self::STATUS_WAIT    => Yii::t('setrun/user', 'Wait')
        ];
    }
public static function getStatusesArray ( ) : array { return [ self :: STATUS_BLOCKED => Yii :: t ( 'setrun/user' , 'Blocked' ) , self :: STATUS_ACTIVE => Yii :: t ( 'setrun/user' , 'Active' ) , self :: STATUS_WAIT => Yii :: t ( 'setrun/user' , 'Wait' ) ] ; }
Get all statuses.
@return array
Get all statuses .