public function __construct(Filesystem $Filesystem, CategoryPaths $CategoryPaths) { $this->Filesystem = $Filesystem; $this->CategoryPaths = $CategoryPaths; $this->basepath = public_path() . '/media/'; }