Methods |
public
|
__construct(DOMElement $node, string|null $currentUri = null, string|null $method = 'GET')
Parameters
$node |
A \DOMElement instance
|
$currentUri |
The URI of the page where the link is embedded (or the base href)
|
$method |
The method to use for the link (GET by default)
|
Throws
Overriden by
|
#
|
public
|
getNode(): DOMElement
Gets the node associated with this link.
Gets the node associated with this link.
|
#
|
public
|
getMethod(): string
Gets the method associated with this link.
Gets the method associated with this link.
Overriden by
|
#
|
public
|
getUri(): string
Gets the URI associated with this link.
Gets the URI associated with this link.
Overriden by
|
#
|
abstract
protected
|
getRawUri(): string
Returns raw URI data.
|
#
|
protected
|
canonicalizePath(string $path): string
Returns the canonicalized URI path (see RFC 3986, section 5.2.4).
Returns the canonicalized URI path (see RFC 3986, section 5.2.4).
Parameters
|
#
|
abstract
protected
|
setNode(DOMElement $node)
Sets current \DOMElement instance.
Sets current \DOMElement instance.
Parameters
$node |
A \DOMElement instance
|
Throws
Implemented by
|
#
|