Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Parser

Token::__toStringpublicWC 1.0

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

Хуков нет.

Возвращает

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

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

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

Код Token::__toString() WC 10.5.0

public function __toString(): string
{
    if ($this->value) {
        return sprintf('<%s "%s" at %s>', $this->type, $this->value, $this->position);
    }

    return sprintf('<%s at %s>', $this->type, $this->position);
}