open()
open(string $filename) : $this
Open a ZIP file archive
Parameters
string | $filename |
Throws
- \Exception
addFromString(string $localname, string $contents) : $this
Add a file to a ZIP archive using its contents
string | $localname | The name of the entry to create. |
string | $contents | The contents to use to create the entry. It is used in a binary safe mode. |
Loading…