RouteBinding
class RouteBinding (View source)
Methods
static Closure
forCallback(Container $container, Closure|string $binder)
Create a Route model binding for a given callback.
static Closure
createClassBinding(Container $container, string $binding)
Create a class based binding using the IoC container.
Details
static Closure
forCallback(Container $container, Closure|string $binder)
Create a Route model binding for a given callback.
static protected Closure
createClassBinding(Container $container, string $binding)
Create a class based binding using the IoC container.