private function _applyFilter($chain, $object)
	{
		foreach($chain as $filter)
		{
			if(!$object = call_user_func($filter, $object))
				throw new Exception("Filter returned null");
		}

		return $object;
	}
private function _applyFilter($chain, $object)
	{
		foreach($chain as $filter)
		{
			if(!$object = call_user_func($filter, $object))
				throw new Exception("Filter returned null");
		}

		return $object;
	}
private function _applyFilter ( $ chain , $ object ) { foreach ( $ chain as $ filter ) { if ( ! $ object = call_user_func ( $ filter , $ object ) ) throw new Exception ( "Filter returned null" ) ; } return $ object ; }
Apply a chain of filters to an object
@return object
Apply a chain of filters to an object