Fully Qualified Name: | Zend\Filter\Compress\Snappy |
Implements: | CompressionAlgorithmInterface |
Compression adapter for php snappy (http://code.google.com/p/php-snappy/)
Name | Description | Defined By |
---|---|---|
__construct() | Class constructor | Snappy |
compress() | Compresses the given content | Snappy |
decompress() | Decompresses the given content | Snappy |
toString() | Returns the adapter name | Snappy |
Class constructor
Parameter Name | Type | Description |
---|---|---|
$options | null|array|\Traversable | (Optional) |
Returns:
Compresses the given content
Parameter Name | Type | Description |
---|---|---|
$content | string |
Returns: string
Decompresses the given content
Parameter Name | Type | Description |
---|---|---|
$content | string |
Returns: string
Returns the adapter name
Returns: string