class RouteFileRegistrar (View source)

Properties

protected Router $router

The router instance.

Methods

void
__construct(Router $router)

Create a new route file registrar instance.

void
register(string $routes)

Require the given routes file.

Details

void __construct(Router $router)

Create a new route file registrar instance.

Parameters

Router $router

Return Value

void

void register(string $routes)

Require the given routes file.

Parameters

string $routes

Return Value

void