Tmp file handler

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:project

pkg:composer/victor-martsiv/tmp

dev-main 2022-09-28 11:36 UTC

This package is auto-updated.

Last update: 2025-09-29 03:06:17 UTC


README

Simple lib for work with tmp file.

Example

$filePath = 'some/file/path';
$tmpHandler = new \KnightWithKnife\Tmp\File($filePath);
$tmpHandler->write($testData);
$tmpHandler->append($testData);
$data = $tmpHandler->read();
$data = $tmpHandler->lazyRead();
$tmpHandler->delete();