public function getProcessedMetricsById()
    {
        $processedMetrics = $this->processedMetrics ?: array();

        $result = array();
        foreach ($processedMetrics as $processedMetric) {
            if ($processedMetric instanceof ProcessedMetric || $processedMetric instanceof ArchivedMetric) { // instanceof check for backwards compatibility
                $result[$processedMetric->getName()] = $processedMetric;
            }
        }
        return $result;
    }
public function getProcessedMetricsById()
    {
        $processedMetrics = $this->processedMetrics ?: array();

        $result = array();
        foreach ($processedMetrics as $processedMetric) {
            if ($processedMetric instanceof ProcessedMetric || $processedMetric instanceof ArchivedMetric) { // instanceof check for backwards compatibility
                $result[$processedMetric->getName()] = $processedMetric;
            }
        }
        return $result;
    }
public function getProcessedMetricsById ( ) { $ processedMetrics = $ this -> processedMetrics ? : array ( ) ; $ result = array ( ) ; foreach ( $ processedMetrics as $ processedMetric ) { if ( $ processedMetric instanceof ProcessedMetric || $ processedMetric instanceof ArchivedMetric ) { // instanceof check for backwards compatibility $ result [ $ processedMetric -> getName ( ) ] = $ processedMetric ; } } return $ result ; }
Returns an array mapping the ProcessedMetrics served by this report by their string names.

@return ProcessedMetric[]
Returns an array mapping the ProcessedMetrics served by this report by their string names .