Fully Qualified Name: | Zend\Permissions\Rbac\Assertion\CallbackAssertion |
Implements: | AssertionInterface |
Name | Description | Defined By |
---|---|---|
__construct() | CallbackAssertion | |
assert() | Assertion method - must return a boolean. | CallbackAssertion |
Parameter Name | Type | Description |
---|---|---|
$callback | callable | The |
Returns:
Assertion method - must return a boolean.
Returns the result of the composed callback.
Parameter Name | Type | Description |
---|---|---|
$rbac | \Rbac |
Returns: bool