Pop\Auth\Acl::getRole PHP Метод

getRole() публичный Метод

Method to get a role
public getRole ( string $role ) : Role
$role string
Результат Role
    public function getRole($role)
    {
        return isset($this->roles[$role]) ? $this->roles[$role] : null;
    }