Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ZfcRbac
Service
AuthorizationServiceInterface
PHP Interface ZfcRbac\Service\AuthorizationServiceInterface
Author:
Michaƫl Gallego (
[email protected]
)
Show file
Open project: zf-commons/zfc-rbac
Interface Usage Examples
Public Methods
Method
Description
isGranted
(
string
| Rbac\Permission\PermissionInterface
$permission
,
mixed
$context
= null ) :
boolean
Check if the permission is granted to the current identity
Method Details
isGranted()
public
method
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
return
boolean