Fully Qualified Name: | Laminas\Filter\RealPath |
Extends: | AbstractFilter |
Name | Description | Defined By |
---|---|---|
__construct() | Class constructor | RealPath |
__invoke() | Invoke filter as a command | AbstractFilter |
filter() | Defined by Laminas\Filter\FilterInterface | RealPath |
getExists() | Returns true if the filtered path must exist | RealPath |
getOptions() | Retrieve options representing object state | AbstractFilter |
hasPcreUnicodeSupport() | AbstractFilter | |
setExists() | Sets if the path has to exist TRUE when the path must exist FALSE when not existing paths can be given | RealPath |
setOptions() | AbstractFilter |
Class constructor
Parameter Name | Type | Description |
---|---|---|
$existsOrOptions | bool|\Traversable | Options |
Returns:
Invoke filter as a command
Proxies to {@link filter()}
Parameter Name | Type | Description |
---|---|---|
$value | mixed |
Returns: mixed
Defined by Laminas\Filter\FilterInterface
Returns realpath($value)
If the value provided is non-scalar, the value will remain unfiltered
Parameter Name | Type | Description |
---|---|---|
$value | string |
Returns: string|mixed
Returns true if the filtered path must exist
Returns: bool
Retrieve options representing object state
Returns: array
Returns: bool
Sets if the path has to exist TRUE when the path must exist FALSE when not existing paths can be given
Parameter Name | Type | Description |
---|---|---|
$flag | bool | Path |
Returns: self
Parameter Name | Type | Description |
---|---|---|
$options | array|\Traversable |
Returns: self