protected function assignAfter($instance, $route, $request, $method)
	{
		foreach ($instance->getAfterFilters() as $filter)
		{
			// If the filter applies, we will add it to the route, since it has already been
			// registered on the filterer by the controller, and will just let the normal
			// router take care of calling these filters so we do not duplicate logics.
			if ($this->filterApplies($filter, $request, $method))
			{
				$route->after($this->getAssignableAfter($filter));
			}
		}
	}
protected function assignAfter($instance, $route, $request, $method)
	{
		foreach ($instance->getAfterFilters() as $filter)
		{
			// If the filter applies, we will add it to the route, since it has already been
			// registered on the filterer by the controller, and will just let the normal
			// router take care of calling these filters so we do not duplicate logics.
			if ($this->filterApplies($filter, $request, $method))
			{
				$route->after($this->getAssignableAfter($filter));
			}
		}
	}
protected function assignAfter ( $ instance , $ route , $ request , $ method ) { foreach ( $ instance -> getAfterFilters ( ) as $ filter ) { // If the filter applies, we will add it to the route, since it has already been // registered on the filterer by the controller, and will just let the normal // router take care of calling these filters so we do not duplicate logics. if ( $ this -> filterApplies ( $ filter , $ request , $ method ) ) { $ route -> after ( $ this -> getAssignableAfter ( $ filter ) ) ; } } }
Apply the applicable after filters to the route.

@param  \Fly\Routing\Controller  $instance
@param  \Fly\Routing\Route  $route
@param  \Fly\Http\Request  $request
@param  string  $method
@return mixed
Apply the applicable after filters to the route .