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

HashNode::getSpecificitypublicWC 1.0

{@inheritdoc}

Method of the class: HashNode{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

HashNode::getSpecificity() code WC 10.4.3

public function getSpecificity(): Specificity
{
    return $this->selector->getSpecificity()->plus(new Specificity(1, 0, 0));
}