Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Node

ElementNode::__toStringpublicWC 1.0

Method of the class: ElementNode{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

ElementNode::__toString() code WC 10.8.1

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

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