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

CombinedSelectorNode::getSpecificitypublicWC 1.0

{@inheritdoc}

Method of the class: CombinedSelectorNode{}

No Hooks.

Returns

null. Nothing (null).

Usage

$CombinedSelectorNode = new CombinedSelectorNode();
$CombinedSelectorNode->getSpecificity(): Specificity;

CombinedSelectorNode::getSpecificity() code WC 10.8.1

public function getSpecificity(): Specificity
{
    return $this->selector->getSpecificity()->plus($this->subSelector->getSpecificity());
}