Files
2026-09-15 10:35:56 +08:00

15 lines
292 B
PHP

<?php
declare(strict_types=1);
namespace Esun\Translation\Api;
interface TranslatorInterface
{
/**
* @param array<string, string> $texts
* @return array<string, string>
*/
public function translate(array $texts, string $sourceLocale, string $targetLocale): array;
}