Rule
in package
Table of Contents
- $order : int
- $properties : array<string|int, Property>
- $selector : string
- $specificity : Specificity
- __construct() : mixed
- Rule constructor.
- getOrder() : int
- Get order
- getProperties() : array<string|int, Property>
- Get properties
- getSelector() : string
- Get selector
- getSpecificity() : Specificity
- Get specificity
Properties
$order
private
int
$order
$properties
private
array<string|int, Property>
$properties
$selector
private
string
$selector
$specificity
private
Specificity
$specificity
Methods
__construct()
Rule constructor.
public
__construct(string $selector, array<string|int, Property> $properties, Specificity $specificity, int $order) : mixed
Parameters
- $selector : string
- $properties : array<string|int, Property>
- $specificity : Specificity
- $order : int
Return values
mixed —getOrder()
Get order
public
getOrder() : int
Return values
int —getProperties()
Get properties
public
getProperties() : array<string|int, Property>
Return values
array<string|int, Property> —getSelector()
Get selector
public
getSelector() : string
Return values
string —getSpecificity()
Get specificity
public
getSpecificity() : Specificity