\League\FlysystemReadInterface

Summary

Methods
Constants
has()
read()
readStream()
listContents()
getMetadata()
getSize()
getMimetype()
getTimestamp()
getVisibility()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

has()

has(string  $path) : array|boolean|null

Check whether a file exists.

Parameters

string $path

Returns

array|boolean|null

read()

read(string  $path) : array|false

Read a file.

Parameters

string $path

Returns

array|false

readStream()

readStream(string  $path) : array|false

Read a file as a stream.

Parameters

string $path

Returns

array|false

listContents()

listContents(string  $directory = '', boolean  $recursive = false) : array

List contents of a directory.

Parameters

string $directory
boolean $recursive

Returns

array

getMetadata()

getMetadata(string  $path) : array|false

Get all the meta data of a file or directory.

Parameters

string $path

Returns

array|false

getSize()

getSize(string  $path) : array|false

Get the size of a file.

Parameters

string $path

Returns

array|false

getMimetype()

getMimetype(string  $path) : array|false

Get the mimetype of a file.

Parameters

string $path

Returns

array|false

getTimestamp()

getTimestamp(string  $path) : array|false

Get the last modified time of a file as a timestamp.

Parameters

string $path

Returns

array|false

getVisibility()

getVisibility(string  $path) : array|false

Get the visibility of a file.

Parameters

string $path

Returns

array|false