src/HGG/Metrics/Metrics.php
public function toArray()
    {
        if ($this->timer !== null) {
            $this->values['elapsed-time'] = $this->timer->getElapsedTime(true);
        }

        return $this->values;
    }
public function toArray()
    {
        if ($this->timer !== null) {
            $this->values['elapsed-time'] = $this->timer->getElapsedTime(true);
        }

        return $this->values;
    }
public function toArray ( ) { if ( $ this -> timer !== null ) { $ this -> values [ 'elapsed-time' ] = $ this -> timer -> getElapsedTime ( true ) ; } return $ this -> values ; }
Return the results as an array

If the timer option is on also add the elapsed time to the result array and
format it to hh:mm:ss if greater than one second

@return array
Return the results as an array