SDK for PHP 3.x

UriComparator
in package

FinalYes

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

Tags
author

Graham Campbell

Table of Contents

Methods

isCrossOrigin()  : bool
Determines if a modified URL should be considered cross-origin with respect to an original URL.

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
On this page