Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Node
SelectorNode::__construct
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() SelectorNode:: construct code WC 10.5.0
public function __construct(NodeInterface $tree, ?string $pseudoElement = null)
{
$this->tree = $tree;
$this->pseudoElement = $pseudoElement ? strtolower($pseudoElement) : null;
}