| 1 | <?php |
||
| 14 | class FileStorage implements StorageInterface |
||
| 15 | { |
||
| 16 | public $path; |
||
| 17 | |||
| 18 | 3 | public function __construct($path = null) |
|
| 22 | |||
| 23 | 3 | protected function getFullPath($name) |
|
| 27 | |||
| 28 | 2 | public function has($name) |
|
| 32 | |||
| 33 | 2 | public function get($name) |
|
| 39 | |||
| 40 | 3 | public function set($name, $text) |
|
| 50 | |||
| 51 | public function remove($name) |
||
| 57 | } |
||
| 58 |