1: <?php
2:
3: declare(strict_types=1);
4:
5: namespace Atk4\Core\Translator;
6:
7: interface ITranslatorAdapter
8: {
9: /**
10: * Translate the given message.
11: *
12: * @param string $message The message to be translated
13: * @param array<string, mixed> $parameters Array of parameters used to translate message
14: * @param string|null $domain The domain for the message or null to use the default
15: * @param string|null $locale The locale or null to use the default
16: *
17: * @return string The translated string
18: */
19: public function _(string $message, array $parameters = [], string $domain = null, string $locale = null): string;
20: }
21: