Automattic\WooCommerce\EmailEditorVendor\Symfony\Component\CssSelector\XPath

XPathExpr::__toString │ public │ WC 1.0

Метод класса: XPathExpr{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

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

Код XPathExpr::__toString() WC 11.2.2

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

    return $path.$condition;
}