WordPress at a glance
function is not described

Symfony\Component\CssSelector\XPath

XPathExpr::__toString() public WC 1.0

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

No Hooks.

Return

String.

Usage

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

Code of XPathExpr::__toString() WC 5.4.1

<?php
public function __toString()
{
    $path = $this->path.$this->element;
    $condition = null === $this->condition || '' === $this->condition ? '' : '['.$this->condition.']';

    return $path.$condition;
}