public function getResponse()
    {
        if (null === $this->response) {
            @trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', \get_class($this).'::'.__FUNCTION__), E_USER_DEPRECATED);
            // throw new BadMethodCallException(sprintf('The "request()" method must be called before "%s()".', __METHOD__));
        }

        return $this->response;
    }
public function getResponse()
    {
        if (null === $this->response) {
            @trigger_error(sprintf('Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.', \get_class($this).'::'.__FUNCTION__), E_USER_DEPRECATED);
            // throw new BadMethodCallException(sprintf('The "request()" method must be called before "%s()".', __METHOD__));
        }

        return $this->response;
    }
public function getResponse ( ) { if ( null === $ this -> response ) { @ trigger_error ( sprintf ( 'Calling the "%s()" method before the "request()" one is deprecated since Symfony 4.1 and will throw an exception in 5.0.' , \ get_class ( $ this ) . '::' . __FUNCTION__ ) , E_USER_DEPRECATED ) ; // throw new BadMethodCallException(sprintf('The "request()" method must be called before "%s()".', __METHOD__)); } return $ this -> response ; }
Returns the current origin response instance.

The origin response is the response instance that is returned
by the code that handles requests.

@return object A response instance

@see doRequest()
Returns the current origin response instance .