src/ApiClient.php
public function reset(): ApiClient
    {
        $this->internalRequest = new InternalRequest($this->baseUrl, 'GET');
        $this->request = null;
	$this->response = null;

        $this->profiler = false;

        $this->hasPerformedRequest = false;
        $this->kernel->shutdown();
        $this->kernel->boot();

        return $this;
    }
public function reset(): ApiClient
    {
        $this->internalRequest = new InternalRequest($this->baseUrl, 'GET');
        $this->request = null;
	$this->response = null;

        $this->profiler = false;

        $this->hasPerformedRequest = false;
        $this->kernel->shutdown();
        $this->kernel->boot();

        return $this;
    }
public function reset ( ) : ApiClient { $ this -> internalRequest = new InternalRequest ( $ this -> baseUrl , 'GET' ) ; $ this -> request = null ; $ this -> response = null ; $ this -> profiler = false ; $ this -> hasPerformedRequest = false ; $ this -> kernel -> shutdown ( ) ; $ this -> kernel -> boot ( ) ; return $ this ; }
Reset the internal state of the API client
Reset the internal state of the API client