Sabberworm\CSS\CSSList\Document::getSelectorsBySpecificity
Returns all Selector objects found recursively in the tree.
Note that this does not yield the full DeclarationBlock that the selector belongs to (and, currently, there is no way to get to that).
Signature
public function getSelectorsBySpecificity([An
$sSpecificitySearch = NULL] )
Parameters
$sSpecificitySearch
— object- optional filter by specificity. May contain a comparison operator and a number or just a number (defaults to "==").