Interface for intercepting filter chains

package Default

 Methods

Attach an intercepting filter

attach(callable $callback) : \Zend\Stdlib\CallbackHandler

Parameters

$callback

callable

Returns

\Zend\Stdlib\CallbackHandler

Clear all filters

clearFilters() : void

Detach an intercepting filter

detach(\Zend\Stdlib\CallbackHandler $filter) : boolean

Parameters

$filter

\Zend\Stdlib\CallbackHandler

Returns

boolean

Get all intercepting filters

getFilters() : array

Returns

array

Get all filter responses

getResponses() : \Zend\EventManager\ResponseCollection

Returns

\Zend\EventManager\ResponseCollection

Execute the filter chain

run(string|object $context, array $params = array()) : mixed

Parameters

$context

stringobject

$params

array

Returns

mixed