Lue dans les fichiers PHP du paquet au commit 7a875a8f6abd : ses espaces de noms, classes, interfaces et énumérations, leurs constantes, propriétés et méthodes publiques avec leur PHPDoc, et les options que prennent ses fabriques. Rien n’en est exécuté.
LocalDriveFactoryclassA directory of this machine, through league/flysystem-local:
4 options
Omnidrive\Local
LocalDriveFactory class
final class LocalDriveFactory extends FlysystemDriveFactory LocalDriveFactory.php:20
A directory of this machine, through league/flysystem-local:
(new LocalDriveFactory())->create(['root' => '/srv/app/var/uploads', 'public_url' => '/uploads']);
Options: root (required), public_url, visibility, directory_visibility, permissions (as every drive), lock (an exclusive lock while writing, true), links ("disallow": a symbolic link met is an error; "skip": it is left out of listings), lazy_root (the root made on the first write rather than at once).
Options
| Option | Default | |
|---|---|---|
lock | true | |
links | 'disallow' | |
lazy_root | false | |
root | required |