public function uploadFromString($path, $contents, array $params = [], $verifyChecksum = true)
    {
        return $this->uploader->upload($this->api, $this->absolutePath($path), $contents, $params, $verifyChecksum);
    }
public function uploadFromString($path, $contents, array $params = [], $verifyChecksum = true)
    {
        return $this->uploader->upload($this->api, $this->absolutePath($path), $contents, $params, $verifyChecksum);
    }
public function uploadFromString ( $ path , $ contents , array $ params = [ ] , $ verifyChecksum = true ) { return $ this -> uploader -> upload ( $ this -> api , $ this -> absolutePath ( $ path ) , $ contents , $ params , $ verifyChecksum ) ; }
Uploads file contents from string. Returns ETag header value if upload was successful.

@param string $path           Remote path.
@param string $contents       File contents.
@param array  $params         = [] Upload params.
@param bool   $verifyChecksum = true

@throws \ArgentCrusade\Selectel\CloudStorage\Exceptions\UploadFailedException

@return string
Uploads file contents from string . Returns ETag header value if upload was successful .