src/Widop/GoogleAnalytics/Query.php
public function setSorts(array $sorts)
    {
        $this->sorts = array();

        foreach ($sorts as $sort) {
            $this->addSort($sort);
        }
        
        return $this;
    }
public function setSorts(array $sorts)
    {
        $this->sorts = array();

        foreach ($sorts as $sort) {
            $this->addSort($sort);
        }
        
        return $this;
    }
public function setSorts ( array $ sorts ) { $ this -> sorts = array ( ) ; foreach ( $ sorts as $ sort ) { $ this -> addSort ( $ sort ) ; } return $ this ; }
Sets the google analytics query sorts.

@param array $sorts The google analytics query sorts.

@return \Widop\GoogleAnalytics\Query The query.
Sets the google analytics query sorts .