package Default
inherited_from \Zend\Filter\AbstractFilter

 Methods

Constructor

__construct(string $separator = ' '

Parameters

$separator

string

Space by default

Invoke filter as a command

__invoke(mixed $value) : mixed
Inherited

Proxies to \filter()

Parameters

$value

mixed

Exceptions

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

Returns

mixed

Retrieve options representing object state

getOptions() : array
Inherited

Returns

array

Returns the actual set separator

getSeparator() : string

Returns

string

hasPcreUnicodeSupport()

hasPcreUnicodeSupport() : boolean
InheritedStatic
deprecated Since 2.1.0

Returns

boolean

setOptions()

setOptions(array|\Traversable $options) : \Zend\Filter\Word\AbstractSeparator
Inherited
fluent This method is part of a fluent interface and will return the same instance

Parameters

$options

array\Traversable

Exceptions

\Zend\Filter\Exception\InvalidArgumentException

Returns

\Zend\Filter\Word\AbstractSeparator

Sets a new separator

setSeparator(string $separator) : \Zend\Filter\Word\AbstractSeparator
fluent This method is part of a fluent interface and will return the same instance

Parameters

$separator

string

Separator

Exceptions

\Zend\Filter\Exception\InvalidArgumentException

Returns

\Zend\Filter\Word\AbstractSeparator

isOptions()

isOptions(mixed $options) : boolean
InheritedStatic

Parameters

$options

mixed

Returns

boolean

 Properties

 

Filter options

$options : array

Default

array()
 

$separator

$separator 

Default

' '