Skip to content

omnidrive/local API reference

Floor
Provider · Omnidrive
Version
1.x
Conformance suite
runs, CI green
Verified for real
Verified in part
Licence
MIT
composer require omnidrive/local:1.x-dev

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.

Omnidrive\Local

  • LocalDriveFactory class

    A 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

OptionDefault
locktrue
lazy_rootfalse
rootrequired