W3cubDocs

/Symfony 4.1

HashNode

class HashNode extends AbstractNode

Represents a "#" node.

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()
string __toString()

Details

string getNodeName()

Return Value

string

__construct(NodeInterface $selector, string $id)

Parameters

NodeInterface $selector
string $id

NodeInterface getSelector()

Return Value

NodeInterface

string getId()

Return Value

string

Specificity getSpecificity()

Return Value

Specificity

string __toString()

Return Value

string

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/CssSelector/Node/HashNode.html