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

HashNode::__constructpublicWC 1.0

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

Хуков нет.

Возвращает

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

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

$HashNode = new HashNode();
$HashNode->__construct( $selector, $id );
$selector(NodeInterface) (обязательный)
.
$id(строка) (обязательный)
.

Код HashNode::__construct() WC 11.0.1

public function __construct(NodeInterface $selector, string $id)
{
    $this->selector = $selector;
    $this->id = $id;
}