PHP Interface ZfcRbac\Service\AuthorizationServiceInterface

Author: Michaël Gallego ([email protected])
Afficher le fichier Open project: zf-commons/zfc-rbac Interface Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat boolean