PHP Interface LaravelBA\RouteBinder\Bindings

Show file Open project: guiwoda/route-binder

Public Methods

Method Description
addBindings ( Router $router ) : void Bind parameters, filters or anything you need to do with the concrete router here.

Method Details

addBindings() public method

NOTE: If an object that's not an instance (nor an extension) of the concrete \Illuminate\Routing\Router is bound as the \Illuminate\Contracts\Routing\Registrar in the Container, **this method will never be called!**
public addBindings ( Router $router ) : void
$router Illuminate\Routing\Router
return void