array allFiles(string|null $directory = null) Get all of the files from the given directory (recursive). Parameters string|null $directory Return Value array
array allDirectories(string|null $directory = null) Get all (recursive) of the directories within a given directory. Parameters string|null $directory Return Value array
Filesystem / Cloud Storage Introduction Configuration The Public Disk The Local Driver Driver Prerequisites Obtaining Disk Instances Retrieving Files File URLs File Metadata Storing Files File Uploads File Visibility Deleting Files Directories Custom Filesystems Introduction Laravel provides a powerful filesystem abstraction thanks to the wonderful Flysystem PHP package by Frank de Jonge. The Laravel Flysystem integration provides simple to use drivers for working with local filesystems
Filesystem class Filesystem (View source) Traits Macroable
Filesystem interface Filesystem (View source) Constants VISIBILITY_PUBLIC The public visibility setting. VISIBILITY_PRIVATE The private visibility setting.
Illuminate\Filesystem Classes Filesystem FilesystemServiceProvider
void __construct(Filesystem $files, string $directory) Create a new file cache store instance. Parameters Filesystem $files string $directory Return Value void
void putMany(array $values, float|int $minutes) Store multiple items in the cache for a given number of minutes. Parameters array $values float|int $minutes Return Value void
void put(string $key, mixed $value, float|int $minutes) Store an item in the cache for a given number of minutes. Parameters string $key mixed $value float|int $minutes Return Value void
array many(array $keys) Retrieve multiple items from the cache by key. Items not found in the cache will have a null value. Parameters array $keys Return Value array
Page 665 of 996