interface BindingRegistrar (View source)
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. |
Add a new route parameter binder.
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/5.8/Illuminate/Contracts/Routing/BindingRegistrar.html