class UrlImmutable extends UrlImmutable implements UrlInterface (View source)

Methods

setPortIfNecessary(int $port) deprecated

No description

getAuthority()

{@inheritdoc}

static 
createFromUrl($url, $trailing_slashes = self::TRAILING_SLASHES_AUTO)

No description

static null|string
sanitizeUrl($url)

Overridden to allow paths be passed in and out

Details

UrlInterface setPortIfNecessary(int $port) deprecated

deprecated Use `->setPort($port)`

No description

Parameters

int $port

Return Value

UrlInterface

getAuthority()

{@inheritdoc}

static createFromUrl($url, $trailing_slashes = self::TRAILING_SLASHES_AUTO)

No description

Parameters

$url
$trailing_slashes

static protected null|string sanitizeUrl($url)

Overridden to allow paths be passed in and out

Parameters

$url

Return Value

null|string