@@ -8,6 +8,9 @@ discard block |
||
8 | 8 | { |
9 | 9 | private $root = THEMES_ROOT.'/front/'.FRONT_THEME.'/'; |
10 | 10 | |
11 | + /** |
|
12 | + * @param string $path |
|
13 | + */ |
|
11 | 14 | public function getFilesListByPath($path) |
12 | 15 | { |
13 | 16 | return array_diff( |
@@ -16,6 +19,9 @@ discard block |
||
16 | 19 | ); |
17 | 20 | } |
18 | 21 | |
22 | + /** |
|
23 | + * @param string $path |
|
24 | + */ |
|
19 | 25 | public function getFileInfo($path) |
20 | 26 | { |
21 | 27 | $file = $this->root.$path; |
@@ -33,6 +39,9 @@ discard block |
||
33 | 39 | ]; |
34 | 40 | } |
35 | 41 | |
42 | + /** |
|
43 | + * @param string $path |
|
44 | + */ |
|
36 | 45 | public function saveFile($path, $data) |
37 | 46 | { |
38 | 47 | $file = $this->root.$path; |