Zend\Filter\Compress\Tar
Compression adapter for Tar
Synopsis
class Tar
extends AbstractCompressionAlgorithm
{
- // members
- protected array $options;
- // Inherited members from AbstractCompressionAlgorithm
- protected array $options;
- // methods
- public void __construct()
- public string getArchive()
- public self setArchive()
- public string getTarget()
- public self setTarget()
- public string getMode()
- public self setMode()
- public string compress()
- public string decompress()
- public string toString()
- // Inherited methods from AbstractCompressionAlgorithm
- public void __construct()
- public mixed getOptions()
- public self setOptions()
Hierarchy
Members
protected
- $options
—
array
Compression Options array( 'archive' => Archive to use 'target' => Target to write the files to ) - $options — array
Methods
public
- __construct() — Class constructor
- compress() — Compresses the given content
- decompress() — Decompresses the given content
- getArchive() — Returns the set archive
- getMode() — Returns the set compression mode
- getTarget() — Returns the set target path
- setArchive() — Sets the archive to use for de-/compression
- setMode() — Compression mode to use
- setTarget() — Sets the target path to use
- toString() — Returns the adapter name
Inherited from Zend\Filter\Compress\AbstractCompressionAlgorithm
public
- getOptions() — Returns one or all set options
- setOptions() — Sets all or one option