PHP Class LaravelBA\RouteBinder\RouteBinderServiceProvider

Inheritance: extends Illuminate\Foundation\Support\Providers\RouteServiceProvider
Exibir arquivo Open project: guiwoda/route-binder Class Usage Examples

Protected Properties

Property Type Description
$binders LaravelBA\RouteBinder\Routes[] | LaravelBA\RouteBinder\Bindings[]
$namespace

Public Methods

Method Description
bind ( Illuminate\Contracts\Routing\Registrar $router )
boot ( Router $router = null )
makeBinders ( Illuminate\Contracts\Config\Repository $config ) : LaravelBA\RouteBinder\Routes[] | LaravelBA\RouteBinder\Bindings[]
map ( Illuminate\Contracts\Routing\Registrar $router ) : void Register routes on boot.

Protected Methods

Method Description
getBindings ( ) : LaravelBA\RouteBinder\Bindings[] | Collection
getRoutes ( ) : LaravelBA\RouteBinder\Routes[] | Collection

Method Details

bind() public method

public bind ( Illuminate\Contracts\Routing\Registrar $router )
$router Illuminate\Contracts\Routing\Registrar

boot() public method

public boot ( Router $router = null )
$router Illuminate\Routing\Router

getBindings() protected method

protected getBindings ( ) : LaravelBA\RouteBinder\Bindings[] | Collection
return LaravelBA\RouteBinder\Bindings[] | Illuminate\Support\Collection

getRoutes() protected method

protected getRoutes ( ) : LaravelBA\RouteBinder\Routes[] | Collection
return LaravelBA\RouteBinder\Routes[] | Illuminate\Support\Collection

makeBinders() public method

public makeBinders ( Illuminate\Contracts\Config\Repository $config ) : LaravelBA\RouteBinder\Routes[] | LaravelBA\RouteBinder\Bindings[]
$config Illuminate\Contracts\Config\Repository
return LaravelBA\RouteBinder\Routes[] | LaravelBA\RouteBinder\Bindings[]

map() public method

Register routes on boot.
public map ( Illuminate\Contracts\Routing\Registrar $router ) : void
$router Illuminate\Contracts\Routing\Registrar
return void

Property Details

$binders protected_oe property

protected Routes[],LaravelBA\RouteBinder|Bindings[],LaravelBA\RouteBinder $binders
return LaravelBA\RouteBinder\Routes[] | LaravelBA\RouteBinder\Bindings[]

$namespace protected_oe property

protected $namespace