Class AssertionAggregate

Summary

Fully Qualified Name: Zend\Permissions\Acl\Assertion\AssertionAggregate
Implements: AssertionInterface

Description

Methods

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

Method Details

addAssertion()

Stacks an assertion in aggregate

Parameter Name Type Description
$assertion \AssertionInterface|string if

Returns: self

addAssertions()

Parameter Name Type Description
$assertions

Returns: void

assert()

Parameter Name Type Description
$acl
$role
$resource
$privilege

Returns: bool

clearAssertions()

Empties assertions stack

Returns: self

getAssertionManager()

Returns: void

getMode()

Return current mode

Returns: string

setAssertionManager()

Parameter Name Type Description
$manager \AssertionManager

Returns: self

setMode()

Set assertion chain behavior

AssertionAggregate should assert to true when:

Parameter Name Type Description
$mode string indicates

Returns: self

Top