Catalogue
1 month ago
Command
1 month ago
DataCollector
1 month ago
DependencyInjection
1 month ago
Dumper
1 month ago
Exception
1 month ago
Extractor
1 month ago
Formatter
1 month ago
Loader
1 month ago
Provider
1 month ago
Reader
1 month ago
Resources
1 month ago
Test
1 month ago
Util
1 month ago
Writer
1 month ago
DataCollectorTranslator.php
1 month ago
IdentityTranslator.php
2 years ago
LoggingTranslator.php
1 month ago
MessageCatalogue.php
1 month ago
MessageCatalogueInterface.php
1 month ago
MetadataAwareInterface.php
1 month ago
PseudoLocalizationTranslator.php
1 month ago
TranslatableMessage.php
1 month ago
Translator.php
1 month ago
TranslatorBag.php
1 month ago
TranslatorBagInterface.php
1 month ago
TranslatorBagInterface.php
35 lines
| 1 | <?php |
| 2 | |
| 3 | /* |
| 4 | * This file is part of the Symfony package. |
| 5 | * |
| 6 | * (c) Fabien Potencier <fabien@symfony.com> |
| 7 | * |
| 8 | * For the full copyright and license information, please view the LICENSE |
| 9 | * file that was distributed with this source code. |
| 10 | */ |
| 11 | namespace IAWPSCOPED\Symfony\Component\Translation; |
| 12 | |
| 13 | use IAWPSCOPED\Symfony\Component\Translation\Exception\InvalidArgumentException; |
| 14 | /** |
| 15 | * @author Abdellatif Ait boudad <a.aitboudad@gmail.com> |
| 16 | * @internal |
| 17 | */ |
| 18 | interface TranslatorBagInterface |
| 19 | { |
| 20 | /** |
| 21 | * Gets the catalogue by locale. |
| 22 | * |
| 23 | * @param string|null $locale The locale or null to use the default |
| 24 | * |
| 25 | * @throws InvalidArgumentException If the locale contains invalid characters |
| 26 | */ |
| 27 | public function getCatalogue(string $locale = null) : MessageCatalogueInterface; |
| 28 | /** |
| 29 | * Returns all catalogues of the instance. |
| 30 | * |
| 31 | * @return MessageCatalogueInterface[] |
| 32 | */ |
| 33 | public function getCatalogues() : array; |
| 34 | } |
| 35 |