public function Specificity::getValue in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/css-selector/Node/Specificity.php \Symfony\Component\CssSelector\Node\Specificity::getValue()
Returns global specificity value.
Return value
int
File
- vendor/
symfony/ css-selector/ Node/ Specificity.php, line 74
Class
- Specificity
- Represents a node specificity.
Namespace
Symfony\Component\CssSelector\NodeCode
public function getValue() {
return $this->a * self::A_FACTOR + $this->b * self::B_FACTOR + $this->c * self::C_FACTOR;
}