Sabberworm\CSS\CSSList\CSSList::remove PHP Метод

remove() публичный Метод

Removes an item from the CSS list.
public remove ( Sabberworm\CSS\RuleSet\RuleSet | Import | Charset | CSSList $oItemToRemove )
$oItemToRemove Sabberworm\CSS\RuleSet\RuleSet | Import | Charset | CSSList May be a RuleSet (most likely a DeclarationBlock), a Import, a Charset or another CSSList (most likely a MediaQuery)
    public function remove($oItemToRemove)
    {
        $iKey = array_search($oItemToRemove, $this->aContents, true);
        if ($iKey !== false) {
            unset($this->aContents[$iKey]);
            return true;
        }
        return false;
    }