private function mergeNewMetricsToCurrentOnes($newMetrics) { return array_unique(array_merge($this->getMetrics(), $newMetrics)); }