Symfony2 API
Class

Symfony\Component\CssSelector\Node\ElementNode

class ElementNode extends AbstractNode

Represents a "|" node.

This component is a port of the Python cssselector library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.

Methods

string getNodeName()

from AbstractNode
__construct(string|null $namespace = null, string|null $element = null)

null|string getNamespace()

null|string getElement()

Specificity getSpecificity()

Returns node's specificity.

string __toString()

Returns node's string representation.

Details

in AbstractNode at line 32
public string getNodeName()

Return Value

string

at line 38
public __construct(string|null $namespace = null, string|null $element = null)

Parameters

string|null $namespace
string|null $element

at line 47
public null|string getNamespace()

Return Value

null|string

at line 55
public null|string getElement()

Return Value

null|string

at line 63
public Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

at line 71
public string __toString()

Returns node's string representation.

Return Value

string