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.
- see http://www.w3.org/TR/selectors/#specificity
- author Jean-François Simon
- internal
CloneableInstantiable
Constants |
public Symfony |
public Symfony |
public Symfony |
Methods |
public __construct(int $a, int $b, int $c) |
public compareTo(self $specificity) : int Returns -1 if the object specificity is lower than the argument, 0 if they are equal, and 1 if the argument is lower. |
public getValue() : int |
public plus(self $specificity) : self |
Properties |
private int $a |
private int $b |
private int $c |