$commandManager $commandManager : \App\CoreModule\Models\CommandManager Type normal — Command manager
__construct() __construct(string $directory, \App\CoreModule\Models\CommandManager $commandManager) : mixed Constructor Parameters string $directory Directory path \App\CoreModule\Models\CommandManager $commandManager Command manager Returns mixed
read() read(string $fileName) : string Reads the file Parameters string $fileName File name Throws \Nette\IOException Returns string — File content
delete() delete(string $fileName) : void Deletes the file Parameters string $fileName File name Throws \Nette\IOException
write() write(string $fileName, mixed $content) : void Writes into the file Parameters string $fileName File name mixed $content File content Throws \Nette\IOException