1 | <?php |
||
21 | class LocalStorage implements StorageInterface |
||
22 | { |
||
23 | /** |
||
24 | * Save the file to the storage |
||
25 | * |
||
26 | * @param string $source File path |
||
27 | * @param string $destination Destination path |
||
28 | * @return bool |
||
29 | */ |
||
30 | 28 | public function saveFile($source, $destination) |
|
43 | |||
44 | /** |
||
45 | * Deletes the file from the storage |
||
46 | * |
||
47 | * @param string $path File path |
||
48 | * @return bool |
||
49 | */ |
||
50 | 2 | public function deleteFile($path) |
|
57 | |||
58 | /** |
||
59 | * Deletes the directory from the storage |
||
60 | * |
||
61 | * @param string $path Directory path |
||
62 | */ |
||
63 | 7 | public function deleteDir($path) |
|
67 | } |
||
68 |