src/Client.php
public function setLastResponseToFile( ?string $lastResponseToFile ) : Client
   {

      $this->_lastResponseToFile = $lastResponseToFile ?? '';

      if ( '' === \trim( $this->_lastResponseToFile ) ) { $this->_lastResponseToFile = null; }

      return $this;

   }
public function setLastResponseToFile( ?string $lastResponseToFile ) : Client
   {

      $this->_lastResponseToFile = $lastResponseToFile ?? '';

      if ( '' === \trim( $this->_lastResponseToFile ) ) { $this->_lastResponseToFile = null; }

      return $this;

   }
public function setLastResponseToFile ( ? string $ lastResponseToFile ) : Client { $ this -> _lastResponseToFile = $ lastResponseToFile ?? '' ; if ( '' === \ trim ( $ this -> _lastResponseToFile ) ) { $ this -> _lastResponseToFile = null ; } return $ this ; }
If here a valid file path is defined, the last response is stored inside the file.

@param  null|string $lastResponseToFile
@return Client
If here a valid file path is defined the last response is stored inside the file .