Zend\Test\PHPUnit\Controller\AbstractControllerTestCase::dispatch
Dispatch the MVC with a URL Accept a HTTP (simulate a customer action) or console route.
The URL provided set the request URI in the request object.
Signature
public function dispatch(string
$url,
[string|null
$method = null,
[array|null
$params = false,
[
$isXmlHttpRequest = false]]] )
Parameters
$url
— string$method
— object
$params
— array
$isXmlHttpRequest
—