Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
ZfcRbac
Service
AuthorizationServiceInterface
PHP Интерфейс ZfcRbac\Service\AuthorizationServiceInterface
Автор:
Michaël Gallego (
[email protected]
)
Показать файл
Открыть проект
Примеры использования интерфейса
Открытые методы
Метод
Описание
isGranted
(
string
| Rbac\Permission\PermissionInterface
$permission
,
mixed
$context
= null ) :
boolean
Check if the permission is granted to the current identity
Описание методов
isGranted()
публичный
Метод
Check if the permission is granted to the current identity
public
isGranted
(
string
| Rbac\Permission\PermissionInterface
$permission
,
mixed
$context
= null ) :
boolean
$permission
string
| Rbac\Permission\PermissionInterface
$context
mixed
Результат
boolean