Laravel
Release notes
Upgrade Guide
Contribution Guide
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
$router
Router
public
#
register
(
$routes
)
:
void
Require the given routes file.
Parameters
$routes
string
On this page
On this page
Properties
router
Methods
__construct
register