Zend\Filter\UriNormalize
Synopsis
class UriNormalize
extends AbstractFilter
{
- // members
- protected string $defaultScheme;
- protected string $enforcedScheme;
- // Inherited members from AbstractFilter
- protected array $options;
- // methods
- public void __construct()
- public self setDefaultScheme()
- public self setEnforcedScheme()
- public string filter()
- protected void enforceScheme()
- // Inherited methods from AbstractFilter
- public static bool hasPcreUnicodeSupport()
- public self setOptions()
- public array getOptions()
- public mixed __invoke()
- protected static bool isOptions()
Hierarchy
Extends
Members
protected
- $defaultScheme
—
string
The default scheme to use when parsing scheme-less URIs - $enforcedScheme
—
string
Enforced scheme for scheme-less URIs. See setEnforcedScheme docs for info - $options
—
array
Filter options
Methods
protected
- enforceScheme() — Enforce the defined scheme on the URI
public
- __construct() — Sets filter options
- filter() — Filter the URL by normalizing it and applying a default scheme if set
- setDefaultScheme() — Set the default scheme to use when parsing scheme-less URIs
- setEnforcedScheme() — Set a URI scheme to enforce on schemeless URIs
Inherited from Zend\Filter\AbstractFilter
protected
public
- __invoke() — Invoke filter as a command
- getOptions() — Retrieve options representing object state
- hasPcreUnicodeSupport()
- setOptions()