class FileFactory (View source)
File | create(string $name, int $kilobytes) Create a new fake file. | |
File | image(string $name, int $width = 10, int $height = 10) Create a new fake image. |
Create a new fake file.
Create a new fake image.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Http/Testing/FileFactory.html