Symfony API
Class

Symfony\Component\CssSelector\Node\PseudoNode

class PseudoNode 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 $identifier)

NodeInterface getSelector()

string getIdentifier()

Specificity getSpecificity()

Returns node's specificity.

string __toString()

Returns node's string representation.

Details

in AbstractNode at line 34
public string getNodeName()

Return Value

string

at line 40
public __construct(NodeInterface $selector, string $identifier)

Parameters

NodeInterface $selector
string $identifier

at line 49
public NodeInterface getSelector()

Return Value

NodeInterface

at line 57
public string getIdentifier()

Return Value

string

at line 65
public Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

at line 73
public string __toString()

Returns node's string representation.

Return Value

string