Zend\Filter\Compress\Gz::compress
Compresses the given content
Signature
public function compress(string
$content )
Parameters
$content
— string
Returns
- string
Errors/Exceptions
-
RuntimeException
- if unable to open archive or error during decompression