Symfony\Component\CssSelector\Node\HashNode
Represents a "<selector>#<id>" node.
This component is a port of the Python cssselector library,
which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.
- Author: Jean-François Simon <jeanfrancois.simon@sensiolabs.com>
Synopsis
class HashNode
extends AbstractNode
{
- // methods
- public void __construct()
- public NodeInterface getSelector()
- public string getId()
- public void getSpecificity()
- public void __toString()
- // Inherited methods from AbstractNode
- public string getNodeName()
Hierarchy
Members
private
- $id — string
- $selector — Symfony\Component\CssSelector\Node\NodeInterface
Methods
public
- __construct()
- __toString() — {@inheritdoc}
- getId()
- getSelector()
- getSpecificity() — {@inheritdoc}