public function CombinedSelectorNode::__toString in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/Node/CombinedSelectorNode.php \Symfony\Component\CssSelector\Node\CombinedSelectorNode::__toString()
Returns node's string representation.
Return value
string
Overrides NodeInterface::__toString
File
- vendor/
symfony/ css-selector/ Node/ CombinedSelectorNode.php, line 86
Class
- CombinedSelectorNode
- Represents a combined node.
Namespace
Symfony\Component\CssSelector\NodeCode
public function __toString() {
$combinator = ' ' === $this->combinator ? '<followed>' : $this->combinator;
return sprintf('%s[%s %s %s]', $this
->getNodeName(), $this->selector, $combinator, $this->subSelector);
}