lundi 27 mai 2019

How to fix error of saving file Laravel using File facade?

I get the following error:

{"errors":"Method Illuminate\\Filesystem\\Filesystem::create does not exist."}

Imports are:

use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\File;

Code is:

$created = File::create(["path" => $path.$filename]);



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2Kaz92X
via IFTTT

Aucun commentaire:

Enregistrer un commentaire