class Illuminate / Routing / RouteFileRegistrar
You are viewing an older version of the documentation. For the latest, please visit master documentation.

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