Read from the package's own PHP files at the commit 7a875a8f6abd: its namespaces, classes, interfaces and enums, their public constants, properties and methods with their PHPDoc, and the options its factories take. Nothing of it is run.
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 |