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

SelectorNode::__constructpublicWC 1.0

Method of the class: SelectorNode{}

No Hooks.

Returns

null. Nothing (null).

Usage

$SelectorNode = new SelectorNode();
$SelectorNode->__construct( $tree, ?string $pseudoElement );
$tree(NodeInterface) (required)
.
?string $pseudoElement
.
Default: null

SelectorNode::__construct() code WC 10.5.0

public function __construct(NodeInterface $tree, ?string $pseudoElement = null)
{
    $this->tree = $tree;
    $this->pseudoElement = $pseudoElement ? strtolower($pseudoElement) : null;
}