src/Crossjoin/Css/Format/Rule/Style/StyleRuleSet.php
public function setSelectors($selectors)
    {
        $this->selectors = [];
        if (!is_array($selectors)) {
            $selectors = [$selectors];
        }
        foreach ($selectors as $selector) {
            $this->addSelector($selector);
        }

        return $this;
    }
public function setSelectors($selectors)
    {
        $this->selectors = [];
        if (!is_array($selectors)) {
            $selectors = [$selectors];
        }
        foreach ($selectors as $selector) {
            $this->addSelector($selector);
        }

        return $this;
    }
public function setSelectors ( $ selectors ) { $ this -> selectors = [ ] ; if ( ! is_array ( $ selectors ) ) { $ selectors = [ $ selectors ] ; } foreach ( $ selectors as $ selector ) { $ this -> addSelector ( $ selector ) ; } return $ this ; }
Sets the selectors for the style rule.

@param StyleSelector[]|StyleSelector $selectors
@return $this
Sets the selectors for the style rule .