Route current() Get the currently dispatched route instance. Return Value Route
void bind(string $key, string|callable $binder) Add a new route parameter binder. Parameters string $key string|callable $binder Return Value void
string|null currentRouteAction() Get the current route action. Return Value string|null
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
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.
Router class Router implements Registrar (View source) Traits Macroable
void package(string $package, string $namespace = null, string $path = null) Register the package's component namespaces. Parameters string $package string $namespace string $path Return Value void
void register() Register the service provider. Return Value void
array when() Get the events that trigger this service provider to register. Return Value array
Page 211 of 996