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