Automattic\WooCommerce\Vendor\Symfony\Component\CssSelector\Node
CombinedSelectorNode::getSpecificity
{@inheritdoc}
Method of the class: CombinedSelectorNode{}
No Hooks.
Returns
null. Nothing (null).
Usage
$CombinedSelectorNode = new CombinedSelectorNode(); $CombinedSelectorNode->getSpecificity(): Specificity;
CombinedSelectorNode::getSpecificity() CombinedSelectorNode::getSpecificity code WC 10.8.1
public function getSpecificity(): Specificity
{
return $this->selector->getSpecificity()->plus($this->subSelector->getSpecificity());
}