You are here

public function NegationNode::__toString in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/css-selector/Node/NegationNode.php \Symfony\Component\CssSelector\Node\NegationNode::__toString()

Returns node's string representation.

Return value

string

Overrides NodeInterface::__toString

File

vendor/symfony/css-selector/Node/NegationNode.php, line 71

Class

NegationNode
Represents a "<selector>:not(<identifier>)" node.

Namespace

Symfony\Component\CssSelector\Node

Code

public function __toString() {
  return sprintf('%s[%s:not(%s)]', $this
    ->getNodeName(), $this->selector, $this->subSelector);
}