public function validateRouteExists($attribute, $value, $parameters) {
        $method = 'getBy' . studly_case(isset($parameters[0]) ? $parameters[0] : 'name');
        $routes = $this->router->getRoutes();
        return $routes->$method($value) !== null;
    }