RouteFileRegistrar
class RouteFileRegistrar (View source)
Properties
| protected Router | $router | The router instance. |
Methods
void
void
register(string $routes)
Require the given routes file.
Details
void
__construct(Router $router)
Create a new route file registrar instance.
void
register(string $routes)
Require the given routes file.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.