Interfaces
(all in the Centum\Interfaces\Translation
namespace)
Centum\Interfaces\Translation\LocaleInterface
getCode(): non-empty-string
getTranslations(): array<non-empty-string, array<non-empty-string, non-empty-string>>
flattenKeys(): list<non-empty-string>
Centum\Interfaces\Translation\LocalesInterface
getAvailableCodes(): list<non-empty-string>
load(
non-empty-string $code
): Centum\Interfaces\Translation\LocaleInterface
Centum\Interfaces\Translation\TranslatorInterface
translate(
non-empty-string $domain,
non-empty-string $key,
array<non-empty-string, mixed> $values = []
): string