class UrlImmutable extends UrlImmutable implements UrlInterface (View source)

Methods

setPortIfNecessary(integer $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(integer $port) deprecated

deprecated Use `->setPort($port)`

Parameters

integer $port

Return Value

UrlInterface

getAuthority()

{@inheritdoc}

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

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