for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Jason\Flysystem\Oss\Plugins;
use League\Flysystem\Plugin\AbstractPlugin;
class FileUrl extends AbstractPlugin
{
/**
* get file url.
* @return string
*/
public function getMethod()
return 'getUrl';
}
* handle.
* @param $path
* @return mixed
public function handle($path)
return $this->filesystem->getAdapter()->getUrl($path);