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

string
getNodeName()

No description

__construct(NodeInterface $selector, string $name)

No description

getSelector()

No description

string
getName()

No description

getSpecificity()

Returns node's specificity.

string
__toString()

Returns node's string representation.

Details

in AbstractNode at line 34
string getNodeName()

Return Value

string

at line 33
__construct(NodeInterface $selector, string $name)

Parameters

NodeInterface $selector
string $name

at line 42
NodeInterface getSelector()

Return Value

NodeInterface

at line 50
string getName()

Return Value

string

at line 58
Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

at line 66
string __toString()

Returns node's string representation.

Return Value

string