Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Node
SelectorNode::getSpecificity
{@inheritdoc}
Method of the class: SelectorNode{}
No Hooks.
Returns
null. Nothing (null).
Usage
$SelectorNode = new SelectorNode(); $SelectorNode->getSpecificity(): Specificity;
SelectorNode::getSpecificity() SelectorNode::getSpecificity code WC 10.5.0
public function getSpecificity(): Specificity
{
return $this->tree->getSpecificity()->plus(new Specificity(0, 0, $this->pseudoElement ? 1 : 0));
}