RouteFiltererInterface
interface RouteFiltererInterface (View source)
Methods
void | filter(string $name, mixed $callback) Register a new filter with the router. | |
mixed | callRouteFilter(string $filter, array $parameters, Route $route, Request $request, Response|null $response = null) Call the given route filter. |
Details
void filter(string $name, mixed $callback)
Register a new filter with the router.
mixed callRouteFilter(string $filter, array $parameters, Route $route, Request $request, Response|null $response = null)
Call the given route filter.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Routing/RouteFiltererInterface.html