UriComparator
in package
FinalYes
Provides methods to determine if a modified URL should be considered cross-origin.
Tags
Table of Contents
Methods
- isCrossOrigin() : bool
- Determines if a modified URL should be considered cross-origin with respect to an original URL.
- __construct() : mixed
- computePort() : int
Methods
isCrossOrigin()
Determines if a modified URL should be considered cross-origin with respect to an original URL.
public
static isCrossOrigin(UriInterface $original, UriInterface $modified) : bool
Parameters
- $original : UriInterface
- $modified : UriInterface
Return values
bool__construct()
private
__construct() : mixed
computePort()
private
static computePort(UriInterface $uri) : int
Parameters
- $uri : UriInterface