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