lib/Fabulator/Endomondo/WorkoutType.php
static function getName($id)
    {
        try {
            return self::TYPES_NAMES[$id];
        } catch (\Exception $e) {
            throw new EndomondoWorkoutException('Unknown workout type', $e->getCode(), $e->getPrevious());
        }
    }
static function getName($id)
    {
        try {
            return self::TYPES_NAMES[$id];
        } catch (\Exception $e) {
            throw new EndomondoWorkoutException('Unknown workout type', $e->getCode(), $e->getPrevious());
        }
    }
Get name of workot in human readable time.

@param $id int Workout type id
@return string Name of workout
@throws EndomondoWorkoutException when workout type is not defined