src/Kernel/Foundation.php
public function dispatch(ServerRequestInterface $request, ResponseInterface $response)
    {
        return $this->getStrategy()->dispatch($this, $request, $response);
    }
public function dispatch(ServerRequestInterface $request, ResponseInterface $response)
    {
        return $this->getStrategy()->dispatch($this, $request, $response);
    }
Dispatch the application
@param ServerRequestInterface $request
@param ResponseInterface $response
@return mixed