BindingRegistrar
interface BindingRegistrar (View source)
Methods
void
bind(string $key, string|callable $binder)
Add a new route parameter binder.
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.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.