interface TranslatorAdapterFactoryInterface (View source)

Translator adapter factories provide factory method for creating a new translator adapter.

Methods

createTranslatorAdapter(string $locale)

Creates a translator adapter for the given locale.

Details

TranslatorAdapterInterface createTranslatorAdapter(string $locale)

Creates a translator adapter for the given locale.

Parameters

string $locale

Return Value

TranslatorAdapterInterface