Interface FilterInterface

Summary

Fully Qualified Name: Laminas\EventManager\Filter\FilterInterface

Description

Interface for intercepting filter chains

Methods

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

Method Details

attach()

Attach an intercepting filter

Parameter Name Type Description
$callback callable

Returns:

clearFilters()

Clear all filters

Returns: void

detach()

Detach an intercepting filter

Parameter Name Type Description
$filter callable

Returns: bool

getFilters()

Get all intercepting filters

Returns: array

getResponses()

Get all filter responses

Returns: \ResponseCollection

run()

Execute the filter chain

Parameter Name Type Description
$context string|object
$params array

Returns: mixed

Top