Symfony\Component\HttpKernel\Client::getResponse PHP Method

getResponse() public method

public getResponse ( ) : Response | null
return Symfony\Component\HttpFoundation\Response | null A Response instance
    public function getResponse()
    {
        return parent::getResponse();
    }

Usage Example

 protected function makeRequest($method, $uri, $annotationOptions = array())
 {
     $this->getClient($annotationOptions);
     $this->client->request($method, $uri, array(), array(), $this->requestOptions);
     $response = $this->client->getResponse();
     return $response;
 }
All Usage Examples Of Symfony\Component\HttpKernel\Client::getResponse