\App\CoreModule\ModelsIFileManager

File manager interface

Summary

Methods
Constants
delete()
read()
write()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

delete()

delete(string  $fileName) : void

Deletes the file

Parameters

string $fileName

File name

Throws

\Nette\IOException

read()

read(string  $fileName) : mixed

Reads the file

Parameters

string $fileName

File name

Throws

\Nette\IOException

Returns

mixed —

File content

write()

write(string  $fileName, mixed  $content) : void

Writes into the file

Parameters

string $fileName

File name

mixed $content

File content

Throws

\Nette\IOException