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

        foreach ($metrics as $metric) {
            $this->addMetric($metric);
        }
        
        return $this;
    }
public function setMetrics(array $metrics)
    {
        $this->metrics = array();

        foreach ($metrics as $metric) {
            $this->addMetric($metric);
        }
        
        return $this;
    }
public function setMetrics ( array $ metrics ) { $ this -> metrics = array ( ) ; foreach ( $ metrics as $ metric ) { $ this -> addMetric ( $ metric ) ; } return $ this ; }
Sets the google analytics query metrics.

@param array $metrics The google analytics query metrics.

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