ClassNode

class ClassNode 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

getNodeName() from AbstractNode
__construct(NodeInterface $selector, string $name)
getSelector()
getName()
getSpecificity()
__toString()

Details

getNodeName()

__construct(NodeInterface $selector, string $name)

Parameters

NodeInterface $selector
string $name

getSelector()

getName()

getSpecificity()

__toString()

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/CssSelector/Node/ClassNode.html