Zend\Permissions\Acl\Acl::roleDFSVisitAllPrivileges
Visits an $role in order to look for a rule allowing/denying $role access to all privileges upon $resource
This method returns true if a rule is found and allows access. If a rule exists and denies access, then this method returns false. If no applicable rule is found, then this method returns null. This method is used by the internal depth-first search algorithm and may modify the DFS data structure.
Signature
protected function roleDFSVisitAllPrivileges(RoleInterface
$role,
[ResourceInterface&
$resource = null,
[array&
$dfs = null]] )
Parameters
$role
— Zend\Permissions\Acl\Role\RoleInterface
$resource
— Zend\Permissions\Acl\Resource\ResourceInterface
$dfs
— array
Returns
- bool|null