PHP Interface LaravelBA\RouteBinder\Routes

Show file Open project: guiwoda/route-binder

Public Methods

Method Description
addRoutes ( Illuminate\Contracts\Routing\Registrar $router ) : void Add all needed routes to the router.

Method Details

addRoutes() public method

NOTE: This methods will NOT be called if the routes are cached, so any binding logic should be done in addBindings and not here.
public addRoutes ( Illuminate\Contracts\Routing\Registrar $router ) : void
$router Illuminate\Contracts\Routing\Registrar
return void