for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Nord\Lumen\FileManager\Adapters;
use Nord\Lumen\FileManager\Contracts\File;
class LocalAdapter extends DiskAdapter
{
/**
* @inheritdoc
*/
public function getName()
return 'local';
}
public function getFilePath(File $file, array $options)
return storage_path('app/' . $this->createFilePath($file));
public function getFileUrl(File $file, array $options)
return url($this->createFilePath($file));