Methods

Invoke filter as a command

__invoke(mixed $value) : mixed

Proxies to filter()

Parameters

$value

mixed

Exceptions

\Zend\Filter\Exception\ExceptionInterface If filtering $value is impossible

Returns

mixed

Returns the result of filtering $value

filter(mixed $value) : mixed
Inherited

inherited_from \Zend\Filter\FilterInterface::filter()

Parameters

$value

mixed

Exceptions

\Zend\Filter\Exception\RuntimeException If filtering $value is impossible

Returns

mixed

Retrieve options representing object state

getOptions() : array

Returns

array

hasPcreUnicodeSupport()

hasPcreUnicodeSupport() : bool

deprecated Since 2.1.0

Returns

bool

setOptions()

setOptions(array | \Traversable $options) : \Zend\Filter\AbstractFilter

Parameters

$options

array\Traversable

Exceptions

\Zend\Filter\Exception\InvalidArgumentException

Returns

isOptions()

isOptions(mixed $options) : bool

Parameters

$options

mixed

Returns

bool

 Properties

 

Filter options

$options : array