| 1 | <?php |
||
| 15 | class Memory implements Adapter { |
||
| 16 | |||
| 17 | protected $storage = []; |
||
| 18 | |||
| 19 | public function exists($path){ |
||
| 22 | |||
| 23 | public function read($path){ |
||
| 26 | |||
| 27 | public function write($path, $data){ |
||
| 30 | |||
| 31 | public function append($path, $data){ |
||
| 34 | |||
| 35 | public function move($old, $new){ |
||
| 42 | |||
| 43 | public function delete($path){ |
||
| 47 | |||
| 48 | public function search($pattern, $recursive=true){ |
||
| 56 | } |
||
| 57 |