PHP 인터페이스 ZfcRbac\Service\AuthorizationServiceInterface

저자: Michaël Gallego ([email protected])
파일 보기 프로젝트 열기: zf-commons/zfc-rbac 0 사용 예제들

공개 메소드들

메소드 설명
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