Symfony2 API
Interface

Symfony\Component\CssSelector\Node\NodeInterface

interface NodeInterface

Interface for nodes.

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

Methods

string getNodeName()

Returns node's name.

Specificity getSpecificity()

Returns node's specificity.

string __toString()

Returns node's string representation.

Details

at line 29
public string getNodeName()

Returns node's name.

Return Value

string

at line 36
public Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

at line 43
public string __toString()

Returns node's string representation.

Return Value

string