class Filesystem implements ExtenderInterface
Methods
Details
at
line 56
Filesystem
disk(string $name, string|callable $callback)
Declare a new filesystem disk.
Disks represent storage locations, and are backed by storage drivers. Flarum core uses disks for storing assets and avatars. By default, the "local" driver will be used for disks. The "local" driver represents the filesystem where your Flarum installation is running. To declare a new disk, you must provide default configuration a "local" driver.
at
line 71
Filesystem
driver(string $name, string $driverClass)
Register a new filesystem driver.