uriNormalizer
in package
Table of Contents
- CAPITALIZE_PERCENT_ENCODING = 1
- CONVERT_EMPTY_PATH = 4
- DECODE_UNRESERVED_CHARACTERS = 2
- PRESERVING_NORMALIZATIONS = 63
- REMOVE_DEFAULT_HOST = 8
- REMOVE_DEFAULT_PORT = 16
- REMOVE_DOT_SEGMENTS = 32
- REMOVE_DUPLICATE_SLASHES = 64
- SORT_QUERY_PARAMETERS = 128
- isEquivalent() : mixed
- normalize() : mixed
- __construct() : mixed
- capitalizePercentEncoding() : mixed
- decodeUnreservedCharacters() : mixed
Constants
CAPITALIZE_PERCENT_ENCODING
public
mixed
CAPITALIZE_PERCENT_ENCODING
= 1
CONVERT_EMPTY_PATH
public
mixed
CONVERT_EMPTY_PATH
= 4
DECODE_UNRESERVED_CHARACTERS
public
mixed
DECODE_UNRESERVED_CHARACTERS
= 2
PRESERVING_NORMALIZATIONS
public
mixed
PRESERVING_NORMALIZATIONS
= 63
REMOVE_DEFAULT_HOST
public
mixed
REMOVE_DEFAULT_HOST
= 8
REMOVE_DEFAULT_PORT
public
mixed
REMOVE_DEFAULT_PORT
= 16
REMOVE_DOT_SEGMENTS
public
mixed
REMOVE_DOT_SEGMENTS
= 32
REMOVE_DUPLICATE_SLASHES
public
mixed
REMOVE_DUPLICATE_SLASHES
= 64
SORT_QUERY_PARAMETERS
public
mixed
SORT_QUERY_PARAMETERS
= 128
Methods
isEquivalent()
public
static isEquivalent(uriInterface $uri1, uriInterface $uri2[, mixed $normalizations = self::PRESERVING_NORMALIZATIONS ]) : mixed
Parameters
- $uri1 : uriInterface
- $uri2 : uriInterface
- $normalizations : mixed = self::PRESERVING_NORMALIZATIONS
Return values
mixed —normalize()
public
static normalize(uriInterface $uri[, mixed $flags = self::PRESERVING_NORMALIZATIONS ]) : mixed
Parameters
- $uri : uriInterface
- $flags : mixed = self::PRESERVING_NORMALIZATIONS
Return values
mixed —__construct()
private
__construct() : mixed
Return values
mixed —capitalizePercentEncoding()
private
static capitalizePercentEncoding(uriInterface $uri) : mixed
Parameters
- $uri : uriInterface
Return values
mixed —decodeUnreservedCharacters()
private
static decodeUnreservedCharacters(uriInterface $uri) : mixed
Parameters
- $uri : uriInterface