@@ -189,6 +189,10 @@ discard block |
||
189 | 189 | return trim(preg_replace("/ +$/m", '', $output)); |
190 | 190 | } |
191 | 191 | |
192 | + /** |
|
193 | + * @param string $filename |
|
194 | + * @param string $content |
|
195 | + */ |
|
192 | 196 | private function createFile($filename, $content) |
193 | 197 | { |
194 | 198 | $path = dirname($filename); |
@@ -199,6 +203,9 @@ discard block |
||
199 | 203 | file_put_contents($filename, $content); |
200 | 204 | } |
201 | 205 | |
206 | + /** |
|
207 | + * @param string $path |
|
208 | + */ |
|
202 | 209 | private static function clearDirectory($path) |
203 | 210 | { |
204 | 211 | $files = scandir($path); |