Automattic\WooCommerce\Vendor\Sabberworm\CSS\CSSList
Document::getAllRuleSets
Returns all RuleSet objects recursively found in the tree, no matter how deeply nested the rule sets are.
Method of the class: Document{}
No Hooks.
Returns
Array
Usage
$Document = new Document(); $Document->getAllRuleSets();
Document::getAllRuleSets() Document::getAllRuleSets code WC 10.4.3
public function getAllRuleSets()
{
/** @var array<int, RuleSet> $aResult */
$aResult = [];
$this->allRuleSets($aResult);
return $aResult;
}