Symfony\Component\DomCrawler\Link
Link represents an HTML link (an HTML a tag).
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class Link
{
- // members
- protected DOMNode $node;
- protected string $method;
- protected string $currentUri;
- // methods
- public void __construct()
- public DOMNode getNode()
- public string getMethod()
- public string getUri()
- protected string getRawUri()
- protected string canonicalizePath()
- protected void setNode()
Hierarchy
Extended by
Members
protected
- $currentUri — string
- $method — string
- $node — \DOMNode
Methods
protected
- canonicalizePath() — Returns the canonicalized URI path (see RFC 3986, section 5.2.4)
- getRawUri() — Returns raw uri data.
- setNode() — Sets current \DOMNode instance.
public
- __construct() — Constructor.
- getMethod() — Gets the method associated with this link.
- getNode() — Gets the node associated with this link.
- getUri() — Gets the URI associated with this link.