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

SelectorNode::__toStringpublicWC 1.0

Method of the class: SelectorNode{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

SelectorNode::__toString() code WC 10.5.0

public function __toString(): string
{
    return sprintf('%s[%s%s]', $this->getNodeName(), $this->tree, $this->pseudoElement ? '::'.$this->pseudoElement : '');
}