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

PrecognitionControllerDispatcher

Extends

Methods

public

dispatch ( Route $route , $controller , $method ) : void

Dispatch a request to a given controller and method.

Parameters

  • $route Route
  • $controller mixed
  • $method string
protected

ensureMethodExists ( $controller , $method ) : $this

Ensure that the given method exists on the controller.

Parameters

  • $controller object
  • $method string