addAssertion()
addAssertions()
assert()
clearAssertions()
getAssertionManager()
getMode()
setAssertionManager()
setMode()
$assertionManager
$assertions
$mode
MODE_ALL
MODE_AT_LEAST_ONE
addAssertion(\Zend\Permissions\Acl\Assertion\AssertionInterface | string $assertion) : \Zend\Permissions\Acl\Assertion\self
\Zend\Permissions\Acl\Assertion\AssertionInterfacestringif string, must match a AssertionManager declared service (checked later)
\Zend\Permissions\Acl\Assertion\selfaddAssertions(array $assertions)
assert(\Zend\Permissions\Acl\Acl $acl, \Zend\Permissions\Acl\Role\RoleInterface $role, \Zend\Permissions\Acl\Resource\ResourceInterface $resource, string $privilege) : bool
This method is passed the ACL, Role, Resource, and privilege to which the authorization query applies. If the $role, $resource, or $privilege parameters are null, it means that the query applies to all Roles, Resources, or privileges, respectively.
| see | \Zend\Permissions\Acl\Assertion\AssertionInterface::assert() |
|---|
string
\Zend\Permissions\Acl\Exception\RuntimeException |
|---|
boolclearAssertions() : \Zend\Permissions\Acl\Assertion\self
\Zend\Permissions\Acl\Assertion\selfgetAssertionManager()
getMode() : string
stringsetAssertionManager(\Zend\Permissions\Acl\Assertion\AssertionManager $manager) : \Zend\Permissions\Acl\Assertion\self
\Zend\Permissions\Acl\Assertion\selfsetMode(string $mode) : \Zend\Permissions\Acl\Assertion\self
AssertionAggregate should assert to true when:
stringindicates how assertion chain result should interpreted (either 'all' or 'at_least_one')
\Zend\Permissions\Acl\Exception\InvalidArgumentException |
|---|
\Zend\Permissions\Acl\Assertion\self$assertionManager : \Zend\Permissions\Acl\Assertion\$manager
$assertions
$mode
MODE_ALL
MODE_AT_LEAST_ONE