class Illuminate / Routing / RouteFileRegistrar
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

RouteFileRegistrar

Properties

protected

$router Router

The router instance.

Default: null

Methods

public

__construct ( Router $router ) : void

Create a new route file registrar instance.

Parameters

public

register ( $routes ) : void

Require the given routes file.

Parameters

  • $routes string