public function FunctionNode::getSpecificity in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/css-selector/Node/FunctionNode.php \Symfony\Component\CssSelector\Node\FunctionNode::getSpecificity()
Returns node's specificity.
Return value
Overrides NodeInterface::getSpecificity
File
- vendor/
symfony/ css-selector/ Node/ FunctionNode.php, line 80
Class
- FunctionNode
- Represents a "<selector>:<name>(<arguments>)" node.
Namespace
Symfony\Component\CssSelector\NodeCode
public function getSpecificity() {
return $this->selector
->getSpecificity()
->plus(new Specificity(0, 1, 0));
}