1 | <?php /** MicroFile */ |
||
17 | abstract class File implements IFile |
||
18 | { |
||
19 | /** @var mixed $stream File stream */ |
||
20 | protected $stream; |
||
21 | |||
22 | /** |
||
23 | * @inheritdoc |
||
24 | */ |
||
25 | public function exists($filePath) |
||
29 | |||
30 | /** |
||
31 | * @inheritdoc |
||
32 | */ |
||
33 | public function has($filePath) |
||
37 | |||
38 | /** |
||
39 | * @inheritdoc |
||
40 | */ |
||
41 | public function read($filePath) |
||
45 | |||
46 | /** |
||
47 | * @inheritdoc |
||
48 | */ |
||
49 | public function getSize($filePath) |
||
53 | |||
54 | /** |
||
55 | * @inheritdoc |
||
56 | */ |
||
57 | public function delete($filePath) |
||
61 | } |
||
62 |