Méthode | Description | |
---|---|---|
__construct ( $controller ) | Constructor | |
addRequestFilter ( $filter ) | Adds an callback for processing the request before it is processed, must return a request | |
addResponseFilter ( $filter ) | Adds an callback for processing the response after it is processed, must return a response | |
execute ( $request ) | * (non-phpdoc) |
Méthode | Description | |
---|---|---|
filter ( $request ) : response | Filter a request and response and return the response |
Méthode | Description | |
---|---|---|
_applyFilter ( $chain, $object ) : object | Apply a chain of filters to an object |
public addRequestFilter ( $filter ) |
public addResponseFilter ( $filter ) |
protected filter ( $request ) : response | ||
Résultat | response |