init
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Esun\MultiLocaleTranslation\Api;
|
||||
|
||||
interface TranslationProviderInterface
|
||||
{
|
||||
/**
|
||||
* @param array<string, array{value:string,is_html:bool}> $fields
|
||||
* @return array<string, string>
|
||||
*/
|
||||
public function translate(array $fields, string $sourceLanguage, string $targetLanguage): array;
|
||||
}
|
||||
Reference in New Issue
Block a user