protected function registerRoutes() { if (class_exists('Laravel\\Spark\\Providers\\AppServiceProvider')) { include __DIR__ . '/../../routes.php'; } }