Documentation

GetWithMetadata extends AbstractPlugin
in package

Table of Contents

$filesystem  : FilesystemInterface
getMethod()  : string
Get the method name.
handle()  : array<string|int, mixed>|false
Get metadata for an object with required metadata.
setFilesystem()  : mixed
Set the Filesystem object.

Properties

Methods

getMethod()

Get the method name.

public getMethod() : string
Return values
string

handle()

Get metadata for an object with required metadata.

public handle(string $path, array<string|int, string> $metadata) : array<string|int, mixed>|false
Parameters
$path : string

path to file

$metadata : array<string|int, string>

metadata keys

Tags
throws
InvalidArgumentException
throws
FileNotFoundException
Return values
array<string|int, mixed>|false

metadata

Search results