__call()
__construct()
__invoke()
filter()
getAdapter()
getAdapterName()
getAdapterOptions()
getOptions()
hasPcreUnicodeSupport()
setAdapter()
setAdapterOptions()
setOptions()
isOptions()
$adapter
$adapterOptions
$options
Compresses a given string
__call(string $method, string | array $options) : mixed
string
Method to call
stringarray
Options for this method
\Zend\Filter\Exception\BadMethodCallException |
---|
mixed
__construct(string | array | \Traversable $options)
stringarray\Traversable
(Optional) Options to set
__invoke(mixed $value) : mixed
Proxies to filter()
inherited_from | \Zend\Filter\AbstractFilter::__invoke() |
---|
mixed
\Zend\Filter\Exception\ExceptionInterface |
If filtering $value is impossible |
---|
mixed
filter(string $value) : string
Compresses the content $value with the defined settings
string
Content to compress
\Zend\Filter\Exception\RuntimeException |
If filtering $value is impossible |
---|
string
The compressed contentgetAdapter() : \Zend\Filter\Compress\CompressionAlgorithmInterface
getAdapterName() : string
string
getAdapterOptions() : array
array
getOptions(null | string $option) : mixed
nullstring
mixed
hasPcreUnicodeSupport() : bool
inherited_from | \Zend\Filter\AbstractFilter::hasPcreUnicodeSupport() |
---|
bool
setAdapter(string | \Zend\Filter\Compress\CompressionAlgorithmInterface $adapter) : \Zend\Filter\self
setAdapterOptions(array $options) : \Zend\Filter\self
array
\Zend\Filter\self
setOptions(array $options) : \Zend\Filter\self
array
\Zend\Filter\Exception\InvalidArgumentException |
if options is not an array or Traversable |
---|
\Zend\Filter\self
isOptions(mixed $options) : bool
inherited_from | \Zend\Filter\AbstractFilter::isOptions() |
---|
mixed
bool
$adapter
$adapterOptions