Automattic\WooCommerce\EmailEditorVendor\Symfony\Component\CssSelector\Node

FunctionNode::__toString │ public │ WC 1.0

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

Хуков нет.

Возвращает

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

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

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

Код FunctionNode::__toString() WC 11.2.2

public function __toString(): string
{
    $arguments = implode(', ', array_map(function (Token $token) {
        return "'".$token->getValue()."'";
    }, $this->arguments));

    return sprintf('%s[%s:%s(%s)]', $this->getNodeName(), $this->selector, $this->name, $arguments ? '['.$arguments.']' : '');
}