WordPress at a glance
function is not described

Symfony\Component\CssSelector\Node

AttributeNode::__toString() public WC 1.0

{@inheritdoc}

{} It's a method of the class: AttributeNode{}

No Hooks.

Return

null. Nothing.

Usage

$AttributeNode = new AttributeNode();
$AttributeNode->__toString();

Code of AttributeNode::__toString() WC 5.4.1

<?php
public function __toString()
{
    $attribute = $this->namespace ? $this->namespace.'|'.$this->attribute : $this->attribute;

    return 'exists' === $this->operator
        ? sprintf('%s[%s[%s]]', $this->getNodeName(), $this->selector, $attribute)
        : sprintf("%s[%s[%s %s '%s']]", $this->getNodeName(), $this->selector, $attribute, $this->operator, $this->value);
}