lithium\aop\Chain::next()
Advances the chain by one and executes the next filter in line. This method is usually accessed from within a filter function.
function($params, $chain) {
return $chain->next($params);
}
Parameters
-
array
$params
An array of named parameters.
Returns
mixedThe return value of the next filter. If there is no next filter, the return value of the implementation.
Source
public function next(/* array */ $params) {
$message = '`$chain->next()` has been deprecated in favor of `$chain($params)`.';
trigger_error($message, E_USER_DEPRECATED);
return $this($this->_bcNext(func_get_args()));
}