15 lines
246 B
PHP
15 lines
246 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
declare(strict_types=1);
|
||
|
|
|
||
|
|
namespace Domain\Ports\Services;
|
||
|
|
|
||
|
|
interface CsvGenerator
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* @param string[] $header
|
||
|
|
* @param list<string[]> $rows
|
||
|
|
*/
|
||
|
|
public function generate(array $header, array $rows): string;
|
||
|
|
}
|