| Fully Qualified Name: | Laminas\Filter\StringTrim |
| Extends: | AbstractFilter |
| Name | Description | Defined By |
|---|---|---|
| __construct() | Sets filter options | StringTrim |
| __invoke() | Invoke filter as a command | AbstractFilter |
| filter() | Defined by Laminas\Filter\FilterInterface | StringTrim |
| getCharList() | Returns the charList option | StringTrim |
| getOptions() | Retrieve options representing object state | AbstractFilter |
| hasPcreUnicodeSupport() | AbstractFilter | |
| setCharList() | Sets the charList option | StringTrim |
| setOptions() | AbstractFilter |
Sets filter options
| Parameter Name | Type | Description |
|---|---|---|
| $charlistOrOptions | string|array|\Traversable |
Returns:
Invoke filter as a command
Proxies to {@link filter()}
| Parameter Name | Type | Description |
|---|---|---|
| $value | mixed |
Returns: mixed
Defined by Laminas\Filter\FilterInterface
Returns the string $value with characters stripped from the beginning and end
| Parameter Name | Type | Description |
|---|---|---|
| $value | string |
Returns: string
Returns the charList option
Returns: string|null
Retrieve options representing object state
Returns: array
Returns: bool
Sets the charList option
| Parameter Name | Type | Description |
|---|---|---|
| $charList | string |
Returns: self Provides a fluent interface
| Parameter Name | Type | Description |
|---|---|---|
| $options | array|\Traversable |
Returns: self