FilterChain: intercepting filter manager
__construct()
Initializes Filter\FilterIterator in which filters will be aggregated
attach(\Zend\EventManager\callable $callback, int $priority) : \Zend\Stdlib\CallbackHandler
\Zend\EventManager\callable
PHP Callback
int
Priority in the queue at which to execute; defaults to 1 (higher numbers == higher priority)
\Zend\EventManager\Exception\InvalidCallbackException |
---|
\Zend\Stdlib\CallbackHandler
(to allow later unsubscribe)clearFilters() : void
detach(\Zend\Stdlib\CallbackHandler $filter) : bool
\Zend\Stdlib\CallbackHandler
bool
Returns true if filter found and unsubscribed; returns false otherwisegetFilters() : \Zend\EventManager\Filter\FilterIterator
getResponses() : null | \Zend\EventManager\ResponseCollection
Only available while the chain is still being iterated. Returns the current ResponseCollection.
run(mixed $context, array $argv) : mixed
Begins iteration of the filters.
mixed
Object under observation
mixed
Associative array of arguments
mixed