I am using Laravel 5.3 in my app and in the docs ,I found that Storage::putFile('photos', new File('/path/to/photo')); in Filesystem
Then I try'd but it got en error
new File() always return an empty instance of Illuminate\Support\Facades\File and it ignoree the consturct param
So why I can't use it?or is there a bug?
By the way ,$request->file('object') instead would be ok.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire