@@ -101,6 +101,9 @@ discard block |
||
| 101 | 101 | ->extractTo($this->StoragePath($this->local_path), [$file], \Chumper\Zipper\Zipper::WHITELIST); |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | + /** |
|
| 105 | + * @param string $file |
|
| 106 | + */ |
|
| 104 | 107 | protected function ReadOpenXmlFile($file, $type = 'file') |
| 105 | 108 | { |
| 106 | 109 | $this->exctractOpenXmlFile($file); |
@@ -133,6 +136,10 @@ discard block |
||
| 133 | 136 | } |
| 134 | 137 | } |
| 135 | 138 | |
| 139 | + /** |
|
| 140 | + * @param string $file |
|
| 141 | + * @param false|string $folder |
|
| 142 | + */ |
|
| 136 | 143 | protected function SaveOpenXmlObjectToFile($xmlObject, $file, $folder) |
| 137 | 144 | { |
| 138 | 145 | if ($xmlString = $xmlObject->asXML()) { |