Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<?php
declare(strict_types=1);
namespace NunoMaduro\PhpInsights\Application\Console\Contracts;
use NunoMaduro\PhpInsights\Domain\Insights\InsightCollection;
/**
* This interface is used to define the format of the result.
*
* @internal
*/
interface Formatter
{
/**
* Format the result to the desired format.
*
* @param array<int, string> $metrics
*/
public function format(InsightCollection $insightCollection, array $metrics): void;
}