BindingRegistrar
interface BindingRegistrar (View source)
Methods
void | bind(string $key, string|callable $binder) Add a new route parameter binder. | |
Closure | getBindingCallback(string $key) Get the binding callback for a given binding. |
Details
void bind(string $key, string|callable $binder)
Add a new route parameter binder.
Closure getBindingCallback(string $key)
Get the binding callback for a given binding.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/6.x/Illuminate/Contracts/Routing/BindingRegistrar.html