package Default

 Methods

__construct()

__construct(callable $callback) 

Parameters

$callback

callable

The assertion callback

Assertion method - must return a boolean.

assert(\Zend\Permissions\Rbac\Rbac $rbac) : boolean

Returns the result of the composed callback.

inherited_from \Zend\Permissions\Rbac\AssertionInterface::assert()

Parameters

$rbac

\Zend\Permissions\Rbac\Rbac

Returns

boolean

 Properties

 

$callback

$callback : callable

Default