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

ClassNode::getSpecificitypublicWC 1.0

{@inheritdoc}

Method of the class: ClassNode{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

ClassNode::getSpecificity() code WC 11.0.0

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