Fully Qualified Name: | Zend\EventManager\Filter\FilterInterface |
Interface for intercepting filter chains
Name | Description | Defined By |
---|---|---|
attach() | Attach an intercepting filter | FilterInterface |
clearFilters() | Clear all filters | FilterInterface |
detach() | Detach an intercepting filter | FilterInterface |
getFilters() | Get all intercepting filters | FilterInterface |
getResponses() | Get all filter responses | FilterInterface |
run() | Execute the filter chain | FilterInterface |
Attach an intercepting filter
Parameter Name | Type | Description |
---|---|---|
$callback | callable |
Returns:
Clear all filters
Returns: void
Detach an intercepting filter
Parameter Name | Type | Description |
---|---|---|
$filter | callable |
Returns: bool
Get all intercepting filters
Returns: array
Get all filter responses
Returns: \ResponseCollection
Execute the filter chain
Parameter Name | Type | Description |
---|---|---|
$context | string|object | |
$params | array |
Returns: mixed