\League\Flysystem\PluginListWith

Summary

Methods
Properties
Constants
setFilesystem()
getMethod()
handle()
No public properties found
No constants found
getMetadataByName()
$filesystem
N/A
No private methods found
No private properties found
N/A

Properties

Methods

setFilesystem()

setFilesystem(\League\Flysystem\FilesystemInterface  $filesystem) : mixed

Set the Filesystem object.

Parameters

\League\Flysystem\FilesystemInterface $filesystem

Returns

mixed —

getMethod()

getMethod() : string

Get the method name.

Returns

string —

handle()

handle(array  $keys = [], string  $directory = '', bool  $recursive = false) : array

List contents with metadata.

Parameters

array $keys
string $directory
bool $recursive

Returns

array —

listing with metadata

getMetadataByName()

getMetadataByName(array  $object, string  $key) : array

Get a meta-data value by key name.

Parameters

array $object
string $key

Returns

array —