D
D
Denis99992017-11-29 12:33:09
gulp.js
Denis9999, 2017-11-29 12:33:09

Laravel Documentation - No Storage Methods?

Why aren't all the methods of a particular facade listed in the Laravel api documentation?
For example, here is the code from the documentation:

Storage::disk('local')->put('file.txt', 'Contents');

Why is neither the disk method nor the put method described in the api documentation for this facade?
https://laravel.com/api/5.4/Illuminate/Support/Fac...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Victor, 2017-11-29
@Denis9999

Because you are looking at the documentation of the facade, but here is the class that is behind it and everything is there.
https://laravel.com/api/5.4/Illuminate/Filesystem/...
The disk method from the FilesystemManager class.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question