WordPress at a glance
function is not described

Symfony\Component\CssSelector\Node

ElementNode::__toString() public WC 1.0

{@inheritdoc}

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of ElementNode::__toString() WC 5.4.1

<?php
public function __toString()
{
    $element = $this->element ?: '*';

    return sprintf('%s[%s]', $this->getNodeName(), $this->namespace ? $this->namespace.'|'.$element : $element);
}