Completed
Push — master ( aa3e09...85e896 )
by Mikołaj
04:06
created
src/module/Appearance/One/Admin/EditorModel.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.