src/Crossjoin/Css/Format/Rule/AtMedia/MediaRule.php
public function setQueries($queries)
    {
        $this->queries = [];
        if (!is_array($queries)) {
            $queries = [$queries];
        }
        foreach ($queries as $query) {
            $this->addQuery($query);
        }

        return $this;
    }
public function setQueries($queries)
    {
        $this->queries = [];
        if (!is_array($queries)) {
            $queries = [$queries];
        }
        foreach ($queries as $query) {
            $this->addQuery($query);
        }

        return $this;
    }
public function setQueries ( $ queries ) { $ this -> queries = [ ] ; if ( ! is_array ( $ queries ) ) { $ queries = [ $ queries ] ; } foreach ( $ queries as $ query ) { $ this -> addQuery ( $ query ) ; } return $ this ; }
Sets the media queries for the rule.

@param MediaQuery[]|MediaQuery $queries
@return $this
Sets the media queries for the rule .