public function isEqual(Route $route) { return $route instanceof \Jolt\Route\Named && $route->getRequestMethod() === $this->getRequestMethod() && $route->getRoute() === $this->getRoute() && $route->getController() === $this->getController() && $route->getAction() === $this->getAction(); }