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