| 1 |
<?php |
| 2 |
|
| 3 |
namespace WPIDE\App\Services\Tmpfs; |
| 4 |
|
| 5 |
interface TmpfsInterface |
| 6 |
{ |
| 7 |
public function exists(string $filename): bool; |
| 8 |
|
| 9 |
public function findAll($pattern): array; |
| 10 |
|
| 11 |
public function write(string $filename, $data, $append); |
| 12 |
|
| 13 |
public function read(string $filename): string; |
| 14 |
|
| 15 |
public function readStream(string $filename): array; |
| 16 |
|
| 17 |
public function remove(string $filename); |
| 18 |
|
| 19 |
public function getFileLocation(string $filename): string; |
| 20 |
|
| 21 |
public function clean(int $older_than); |
| 22 |
} |
| 23 |
|