TranslatorBagInterface
in
Tags
Table of Contents
Methods
- getCatalogue() : MessageCatalogueInterface
- Gets the catalogue by locale.
- getCatalogues() : array<string|int, MessageCatalogueInterface>
- Returns all catalogues of the instance.
Methods
getCatalogue()
Gets the catalogue by locale.
public
getCatalogue([string|null $locale = null ]) : MessageCatalogueInterface
Parameters
- $locale : string|null = null
-
The locale or null to use the default
Tags
Return values
MessageCatalogueInterfacegetCatalogues()
Returns all catalogues of the instance.
public
getCatalogues() : array<string|int, MessageCatalogueInterface>