W3cubDocs

/Symfony 2.8

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

public string getNodeName()

Return Value

string

public __construct(NodeInterface $selector, string $identifier)

Parameters

NodeInterface $selector
string $identifier

public NodeInterface getSelector()

Return Value

NodeInterface

public string getIdentifier()

Return Value

string

public Specificity getSpecificity()

Returns node's specificity.

Return Value

Specificity

public string __toString()

Returns node's string representation.

Return Value

string

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Component/CssSelector/Node/PseudoNode.html