lithium\util\collection\Filters::next()
Overrides
lithium\util\Collection::next()
Provides short-hand convenience syntax for filter chaining.
Parameters
-
object
$self
The object instance that owns the filtered method.
-
array
$params
An associative array containing the parameters passed to the filtered method.
-
array
$chain
The Filters object instance containing this chain of filters.
Returns
mixedReturns the return value of the next filter in the chain.
Source
public function next($self, $params, $chain) {
if (empty($self) || empty($chain)) {
return parent::next();
}
$next = parent::next();
return $next($self, $params, $chain);
}