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

AttributeNode::getSpecificitypublicWC 1.0

{@inheritdoc}

Method of the class: AttributeNode{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

AttributeNode::getSpecificity() code WC 10.5.0

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