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

mixed Returns 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);
	}