protected function assignAfter($route, $request, $method)
{
foreach ($this->getAfterFilters() as $filter) {
// If the filter applies, we will add it to the route, since it has already been
// registered with the router 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));
}
}
}