Node\HashNode (Component\CssSelector)
Symfony\Component\CssSelector\Node\HashNode
class HashNode extends AbstractNode
Represents a "
This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.
Methods
string | getNodeName() | from AbstractNode |
__construct(NodeInterface $selector, string $id) | ||
NodeInterface | getSelector() | |
string | getId() | |
Specificity | getSpecificity() Returns node's specificity. | |
string | __toString() Returns node's string representation. |
Details
public string getNodeName()
public __construct(NodeInterface $selector, string $id)
public NodeInterface getSelector()
public string getId()
public Specificity getSpecificity()
Returns node's specificity.
public string __toString()
Returns node's string representation.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/CssSelector/Node/HashNode.html