addFromString()
addFromString(string $localname, string $contents) : $this
Add a file to a ZIP archive using its contents
Parameters
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. |
Returns
$this