Closure createClassBinding(string $binding) Create a class based binding using the IoC container. Parameters string $binding Return Value Closure
void bind(string $key, string|callable $binder) Add a new route parameter binder. Parameters string $key string|callable $binder Return Value void
void auth() Register the typical authentication routes for an application. Return Value void
Route any(string $uri, Closure|array|string|null $action = null) Register a new route responding to all verbs. Parameters string $uri Closure|array|string|null $action Return Value Route
Router class Router implements Registrar (View source) Traits Macroable
void __construct(Route $route, Request $request) Create a new event instance. Parameters Route $route Request $request Return Value void
RouteMatched class RouteMatched (View source) Properties Route $route The route instance. Request $request The request instance.
void __construct(Application $app) Create a new service provider instance. Parameters Application $app Return Value void
array when() Get the events that trigger this service provider to register. Return Value array
void register() Register the service provider. Return Value void
Page 211 of 996