Symfony2 API
Class

Symfony\Component\CssSelector\Node\CombinedSelectorNode

class CombinedSelectorNode extends AbstractNode

Represents a combined 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()

Returns node's name.

from AbstractNode
__construct(NodeInterface $selector, string $combinator, NodeInterface $subSelector)

NodeInterface getSelector()

string getCombinator()

NodeInterface getSubSelector()

Specificity getSpecificity()

Returns node's specificity.

string __toString()

Returns node's string representation.

Details

in AbstractNode at line 32
public string getNodeName()

Returns node's name.

Return Value

string

at line 44
public __construct(NodeInterface $selector, string $combinator, NodeInterface $subSelector)

Parameters

NodeInterface $selector
string $combinator
NodeInterface $subSelector

at line 54
public NodeInterface getSelector()

Return Value

NodeInterface

at line 62
public string getCombinator()

Return Value

string

at line 70
public NodeInterface getSubSelector()

Return Value

NodeInterface

at line 78
public Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

at line 86
public string __toString()

Returns node's string representation.

Return Value

string