/** * @param \Equidea\Router\Route $route * * @return boolean */ private function guard(Route $route) { if ($route->hasGuard()) { $this->protect($route->getGuard(), $route->getRedirect()); } return true; }