for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Overtrue\Flysystem\Qiniu\Plugins;
use League\Flysystem\Plugin\AbstractPlugin;
class PrivateDownloadUrl extends AbstractPlugin
{
public function getMethod()
return 'privateDownloadUrl';
}
public function handle($path, $expires = 3600)
$adapter = $this->filesystem->getAdapter();
return $adapter->privateDownloadUrl($path, $expires);