Sabberworm\CSS\RuleSet\RuleSet::getRules
Returns all rules matching the given rule name
Signature
public function getRules([(null|string|Rule)
$mRule = NULL] )
Parameters
$mRule
— object- pattern to search for. If null, returns all rules. if the pattern ends with a dash, all rules starting with the pattern are returned as well as one matching the pattern with the dash excluded. passing a Rule behaves like calling getRules($mRule->getRule()).