classes/Ergo/Routing/RequestFilterChain.php
public function filter($request)
	{
		foreach($this->_filters as $filter)
		{
			if(!$request = $filter->filter($request))
			{
				throw new Exception("Filter returned a null request");
			}
		}

		return $request;
	}
public function filter($request)
	{
		foreach($this->_filters as $filter)
		{
			if(!$request = $filter->filter($request))
			{
				throw new Exception("Filter returned a null request");
			}
		}

		return $request;
	}
public function filter ( $ request ) { foreach ( $ this -> _filters as $ filter ) { if ( ! $ request = $ filter -> filter ( $ request ) ) { throw new Exception ( "Filter returned a null request" ) ; } } return $ request ; }
Filter a request, fail if a null result is returned
Filter a request fail if a null result is returned