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 RefreshFile
*
* @package \Overtrue\Flysystem\Qiniu\Plugins
*/
class RefreshFile extends AbstractPlugin
{
public function getMethod()
return 'refresh';
}
public function handle($path = [])
$adapter = $this->filesystem->getAdapter();
return $adapter->refresh($path);