PHP Класс Webiny\Component\Security\Role\Role

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( string $role ) Constructor.
getRole ( ) : string Returns the name of the role.

Описание методов

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

Constructor.
public __construct ( string $role )
$role string The role name.

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

Returns the name of the role.
public getRole ( ) : string
Результат string