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]);



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire