routeFileNames[] = $routeFileName; return $this; } public function hasRoutes(...$routeFileNames): static { $this->routeFileNames = array_merge( $this->routeFileNames, collect($routeFileNames)->flatten()->toArray() ); return $this; } }