public __construct ( Illuminate\Filesystem\Filesystem $files, |
||
$files | Illuminate\Filesystem\Filesystem | |
$collection | ||
$path |
public function __construct(Filesystem $files, RequestCollection $collection, $path)
{
$this->files = $files;
$this->collection = $collection;
$path = explode('/', $path);
$this->filename = array_pop($path);
$this->path = implode($path, '/');
}