Fully Qualified Name: | Laminas\Permissions\Acl\Assertion\AssertionAggregate |
Implements: | AssertionInterface |
Name | Description | Defined By |
---|---|---|
addAssertion() | Stacks an assertion in aggregate | AssertionAggregate |
addAssertions() | AssertionAggregate | |
assert() | AssertionAggregate | |
clearAssertions() | Empties assertions stack | AssertionAggregate |
getAssertionManager() | AssertionAggregate | |
getMode() | Return current mode | AssertionAggregate |
setAssertionManager() | AssertionAggregate | |
setMode() | Set assertion chain behavior | AssertionAggregate |
Stacks an assertion in aggregate
Parameter Name | Type | Description |
---|---|---|
$assertion | \AssertionInterface|string | if |
Returns: self
Parameter Name | Type | Description |
---|---|---|
$assertions |
Returns: void
Parameter Name | Type | Description |
---|---|---|
$acl | ||
$role | ||
$resource | ||
$privilege |
Returns: bool
Empties assertions stack
Returns: self
Returns: void
Return current mode
Returns: string
Parameter Name | Type | Description |
---|---|---|
$manager | \AssertionManager |
Returns: self
Set assertion chain behavior
AssertionAggregate should assert to true when:
Parameter Name | Type | Description |
---|---|---|
$mode | string | indicates |
Returns: self