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