<?php

declare(strict_types=1);

namespace App\Framework\Metrics\Formatters;

use App\Framework\Metrics\MetricsCollection;

/**
 * Interface for metric formatters
 */
interface MetricsFormatter
{
    /**
     * Format metrics collection to string representation
     */
    public function format(MetricsCollection $metrics): string;

    /**
     * Get the appropriate Content-Type header for this format
     */
    public function getContentType(): string;

    /**
     * Get the format name
     */
    public function getName(): string;
}
