Zend\Mvc\Controller\AbstractController::getResponse PHP Method

getResponse() public method

Get response object
public getResponse ( ) : Zend\Stdlib\ResponseInterface
return Zend\Stdlib\ResponseInterface
    public function getResponse()
    {
        if (!$this->response) {
            $this->response = new HttpResponse();
        }
        return $this->response;
    }