class Illuminate / Routing / RouteFileRegistrar

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