TranslationLoaderRepositoryInterface
interface TranslationLoaderRepositoryInterface (View source)
Translation loader repositories provide a way to store multiple translation loaders.
Methods
Registers the translation loader for the specified handle.
Gets the translation loader for the specified handle.
Determines whether a translation loader with the specified handle has been registered.
Removes the translation loader with the specified handle.
Gets all registered translation providers.
Details
TranslationLoaderInterface
registerTranslationLoader(string $handle, TranslationLoaderInterface $loader)
Registers the translation loader for the specified handle.
TranslationLoaderInterface
getTranslationLoader(string $handle)
Gets the translation loader for the specified handle.
bool
hasTranslationLoader(string $handle)
Determines whether a translation loader with the specified handle has been registered.
removeTranslationLoader(string $handle)
Removes the translation loader with the specified handle.
array
getTranslationLoaders()
Gets all registered translation providers.