You are here

public function Specificity::plus in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/css-selector/Node/Specificity.php \Symfony\Component\CssSelector\Node\Specificity::plus()

Parameters

Specificity $specificity:

Return value

Specificity

File

vendor/symfony/css-selector/Node/Specificity.php, line 64

Class

Specificity
Represents a node specificity.

Namespace

Symfony\Component\CssSelector\Node

Code

public function plus(Specificity $specificity) {
  return new self($this->a + $specificity->a, $this->b + $specificity->b, $this->c + $specificity->c);
}