class Specificity
Represents a node specificity.
This component is a port of the Python cssselect library, which is copyright Ian Bicking, see https://github.com/SimonSapin/cssselect.
A_FACTOR | |
B_FACTOR | |
C_FACTOR |
__construct(int $a, int $b, int $c) | ||
plus(Specificity $specificity) | ||
getValue() | ||
int | compareTo(Specificity $specificity) Returns -1 if the object specificity is lower than the argument, 0 if they are equal, and 1 if the argument is lower. |
int | $a | |
int | $b | |
int | $c |
Specificity | $specificity |
Returns -1 if the object specificity is lower than the argument, 0 if they are equal, and 1 if the argument is lower.
Specificity | $specificity |
int |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/CssSelector/Node/Specificity.html