Copied!

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.

Cloneable Instantiable
Constants
public Symfony\Component\CssSelector\Node\Specificity ::A_FACTOR = 100
public Symfony\Component\CssSelector\Node\Specificity ::B_FACTOR = 10
public Symfony\Component\CssSelector\Node\Specificity ::C_FACTOR = 1
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
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration