You are here

public function Specificity::getValue in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\Node

Code

public function getValue() {
  return $this->a * self::A_FACTOR + $this->b * self::B_FACTOR + $this->c * self::C_FACTOR;
}