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

        foreach ($dimensions as $dimension) {
            $this->addDimension($dimension);
        }
        
        return $this;
    }
public function setDimensions(array $dimensions)
    {
        $this->dimensions = array();

        foreach ($dimensions as $dimension) {
            $this->addDimension($dimension);
        }
        
        return $this;
    }
public function setDimensions ( array $ dimensions ) { $ this -> dimensions = array ( ) ; foreach ( $ dimensions as $ dimension ) { $ this -> addDimension ( $ dimension ) ; } return $ this ; }
Sets the google analytics query dimensions.

@param array $dimensions The google analytics query dimensions.

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