1
0
mirror of https://github.com/Ne-Lexa/php-zip.git synced 2025-10-13 06:14:37 +02:00

Easy to initialize the output zip file.

This commit is contained in:
wapplay-home-linux
2017-03-02 00:16:09 +03:00
parent 8d140cc1a1
commit 58e9f4bf73
5 changed files with 50 additions and 9 deletions

View File

@@ -157,6 +157,13 @@ class ZipFile implements \Countable, \ArrayAccess, \Iterator, ZipConstants
return $zipFile;
}
/**
* @return ZipOutputFile
*/
public function edit(){
return ZipOutputFile::openFromZipFile($this);
}
/**
* Check zip file signature
*