1 | <?php |
||
13 | class IOHelper |
||
14 | { |
||
15 | /** |
||
16 | * |
||
17 | */ |
||
18 | public static function printDir() |
||
26 | |||
27 | /** |
||
28 | * @param string $dir |
||
29 | */ |
||
30 | public static function getDir($dir = "output/") |
||
67 | |||
68 | /** |
||
69 | * @param string $dir |
||
70 | */ |
||
71 | public static function cleandir($dir = "output") |
||
89 | |||
90 | /** |
||
91 | * @param $str |
||
92 | * @param $pathOutput |
||
93 | * @param $basePath |
||
94 | */ |
||
95 | public static function outputFile($str, $pathOutput, $basePath) |
||
100 | |||
101 | /** |
||
102 | * @param $source |
||
103 | * @param $destination |
||
104 | */ |
||
105 | public static function zipFile($source, $destination) |
||
111 | |||
112 | /** |
||
113 | * @param $source |
||
114 | * @param $destination |
||
115 | * @param $str |
||
116 | */ |
||
117 | public static function zipFileOntheFly($source, $destination, $str) |
||
123 | |||
124 | /** |
||
125 | * @param Filesystem $filesystem |
||
126 | */ |
||
127 | public static function makeZip(Filesystem $filesystem) |
||
134 | } |
||
135 |