Zend\Filter\Compress\Tar::setMode
Compression mode to use
Either Gz or Bz2.
Signature
public function setMode(string
$mode )
Parameters
$mode
— string
Returns
- self
Errors/Exceptions
-
InvalidArgumentException
- for invalid $mode values
-
ExtensionNotLoadedException
- if bz2 mode selected but extension not loaded
-
ExtensionNotLoadedException
- if gz mode selected but extension not loaded