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

FunctionNode::getSpecificitypublicWC 1.0

{@inheritdoc}

Method of the class: FunctionNode{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

FunctionNode::getSpecificity() code WC 10.7.0

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