Zend\Filter\Compress\Tar::compress
Compresses the given content
Signature
public function compress(string
$content )
Parameters
$content
— string
Returns
- string
Errors/Exceptions
-
RuntimeException
- if unable to create temporary file
-
RuntimeException
- if unable to create archive