Documentation

ListWith extends AbstractPlugin
in package

Table of Contents

$filesystem  : FilesystemInterface
getMethod()  : string
Get the method name.
handle()  : array<string|int, mixed>
List contents with metadata.
setFilesystem()  : mixed
Set the Filesystem object.
getMetadataByName()  : array<string|int, mixed>
Get a meta-data value by key name.

Properties

Methods

getMethod()

Get the method name.

public getMethod() : string
Return values
string

handle()

List contents with metadata.

public handle([array<string|int, string> $keys = [] ][, string $directory = '' ][, bool $recursive = false ]) : array<string|int, mixed>
Parameters
$keys : array<string|int, string> = []
$directory : string = ''
$recursive : bool = false
Return values
array<string|int, mixed>

listing with metadata

getMetadataByName()

Get a meta-data value by key name.

protected getMetadataByName(array<string|int, mixed> $object, string $key) : array<string|int, mixed>
Parameters
$object : array<string|int, mixed>
$key : string
Return values
array<string|int, mixed>

Search results