Executes a set of filters against a method by taking a method's main implementation as a
callback, and iteratively wrapping the filters around it.
protected static _filter ( string $method, array $params, Closure $callback, array $filters = [] ) : mixed | ||
$method | string | The name of the method being executed. |
$params | array | An associative array containing all the parameters passed into the method. |
$callback | Closure | The method's implementation, wrapped in a closure. |
$filters | array | Additional filters to apply to the method for this call only. |
return | mixed |