\GuzzleHttp\Psr7UriComparator

Provides methods to determine if a modified URL should be considered cross-origin.

Summary

Methods
Properties
Constants
isCrossOrigin()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
computePort()
__construct()
No private properties found
N/A

Methods

isCrossOrigin()

isCrossOrigin(\Psr\Http\Message\UriInterface  $original, \Psr\Http\Message\UriInterface  $modified) : bool

Determines if a modified URL should be considered cross-origin with respect to an original URL.

Parameters

\Psr\Http\Message\UriInterface $original
\Psr\Http\Message\UriInterface $modified

Returns

bool —

computePort()

computePort(\Psr\Http\Message\UriInterface  $uri) : int

Parameters

\Psr\Http\Message\UriInterface $uri

Returns

int —

__construct()

__construct() : mixed

Returns

mixed —