class TranslatorAdapterFactory implements TranslatorAdapterFactoryInterface (View source)

Provides a factory method to create translator objects for the plain translator.

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