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
$filesystem
protected
FilesystemInterface
$filesystem
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
Return values
array<string|int, mixed>|false —metadata
setFilesystem()
Set the Filesystem object.
public
setFilesystem(FilesystemInterface $filesystem) : mixed
Parameters
- $filesystem : FilesystemInterface