\phpDocumentor\ParserFlySystemFile

Summary

Methods
Properties
Constants
__construct()
getContents()
md5()
path()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$fileSystem
$fileName
N/A

Properties

$fileSystem

$fileSystem : \League\Flysystem\FilesystemInterface

Type

\League\Flysystem\FilesystemInterface —

$fileName

$fileName : string

Type

string

Methods

__construct()

__construct(\League\Flysystem\FilesystemInterface  $fileSystem, string  $fileName) : mixed

Parameters

\League\Flysystem\FilesystemInterface $fileSystem
string $fileName

Returns

mixed —

getContents()

getContents() : string

Returns the content of the file as a string.

Throws

\League\Flysystem\FileNotFoundException

Returns

string —

md5()

md5() : string

Returns md5 hash of the file.

Throws

\League\Flysystem\FileNotFoundException

Returns

string —

path()

path() : string

Returns an relative path to the file.

Returns

string —