Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
LaravelBA
RouteBinder
Routes
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