init
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in New Issue
Block a user