src/Qiniu/QiniuAdapter.php
public function writeStream($path, $resource, Config $config)
    {
        list(, $error) = $this->getResumeUpload($path, $resource, $config)->upload();

        return $error ? false : true;
    }
public function writeStream($path, $resource, Config $config)
    {
        list(, $error) = $this->getResumeUpload($path, $resource, $config)->upload();

        return $error ? false : true;
    }
写入文件流

@param string $path
@param resource $resource
@param array $config