W3cubDocs

/Symfony 4.1

SelectorNode

class SelectorNode 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 $tree, string $pseudoElement = null)
NodeInterface getTree()
string|null getPseudoElement()
Specificity getSpecificity()
string __toString()

Details

string getNodeName()

Return Value

string

__construct(NodeInterface $tree, string $pseudoElement = null)

Parameters

NodeInterface $tree
string $pseudoElement

NodeInterface getTree()

Return Value

NodeInterface

string|null getPseudoElement()

Return Value

string|null

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/SelectorNode.html