public function setDestinationPath($destination = null)
    {
        if (empty($destination)) {
            $destination = sys_get_temp_dir().'/SugarAPI';
        }
        $this->destinationPath = $destination;
        return $this;
    }
public function setDestinationPath($destination = null)
    {
        if (empty($destination)) {
            $destination = sys_get_temp_dir().'/SugarAPI';
        }
        $this->destinationPath = $destination;
        return $this;
    }
public function setDestinationPath ( $ destination = null ) { if ( empty ( $ destination ) ) { $ destination = sys_get_temp_dir ( ) . '/SugarAPI' ; } $ this -> destinationPath = $ destination ; return $ this ; }
Configure the Destination path to store the File response
@param null $destination
@return self
Configure the Destination path to store the File response