Symfony2 API
Class

Symfony\Component\CssSelector\Node\FunctionNode

class FunctionNode extends AbstractNode

Represents a "<selector>:<name>(<arguments>)" 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 $name, array $arguments = array())

NodeInterface getSelector()

string getName()

Token[] getArguments()

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 46
public __construct(NodeInterface $selector, string $name, array $arguments = array())

Parameters

NodeInterface $selector
string $name
array $arguments

at line 56
public NodeInterface getSelector()

Return Value

NodeInterface

at line 64
public string getName()

Return Value

string

at line 72
public Token[] getArguments()

Return Value

Token[]

at line 80
public Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

at line 88
public string __toString()

Returns node's string representation.

Return Value

string