class Illuminate / Routing / CallableDispatcher
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

CallableDispatcher

Implements

Uses

Properties

protected

$container Container

The container instance.

Default: null

Methods

public

__construct ( Container $container ) : void

Create a new callable dispatcher instance.

Parameters

public

dispatch ( Route $route , $callable ) : mixed

Dispatch a request to a given callable.

Parameters

  • $route Route
  • $callable callable
protected

resolveParameters ( Route $route , $callable ) : array

Resolve the parameters for the callable.

Parameters

  • $route Route
  • $callable callable