You are here

public function DispatchableInterface::dispatch in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-stdlib/src/DispatchableInterface.php \Zend\Stdlib\DispatchableInterface::dispatch()

Dispatch a request

Parameters

RequestInterface $request:

null|ResponseInterface $response:

Return value

Response|mixed

File

vendor/zendframework/zend-stdlib/src/DispatchableInterface.php, line 21

Class

DispatchableInterface

Namespace

Zend\Stdlib

Code

public function dispatch(RequestInterface $request, ResponseInterface $response = null);