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

NegationNode::getSpecificitypublicWC 1.0

{@inheritdoc}

Method of the class: NegationNode{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

NegationNode::getSpecificity() code WC 10.5.0

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