assets
data
dependencies
amphp
berlindb
composer
daverandom
delight-im
doctrine
guzzlehttp
hashids
ifsnop
jasny
kelunik
league
mexitek
mpdf
myclabs
nesbot
nyholm
pablo-sg-pacheco
paragonie
phpdocumentor
phpseclib
phpstan
psr
rakit
ralouphie
remotelyliving
rpnzl
scssphp
setasign
spatie
stripe
symfony
cache
cache-contracts
deprecation-contracts
event-dispatcher
event-dispatcher-contracts
polyfill-mbstring
polyfill-php73
polyfill-php80
polyfill-php81
process
service-contracts
translation
Catalogue
Command
DataCollector
DependencyInjection
Dumper
Exception
Extractor
Formatter
Loader
Provider
Reader
TranslationReader.php
TranslationReaderInterface.php
Resources
Test
Util
Writer
CatalogueMetadataAwareInterface.php
DataCollectorTranslator.php
IdentityTranslator.php
LocaleSwitcher.php
LoggingTranslator.php
MessageCatalogue.php
MessageCatalogueInterface.php
MetadataAwareInterface.php
PseudoLocalizationTranslator.php
TranslatableMessage.php
Translator.php
TranslatorBag.php
TranslatorBagInterface.php
translation-contracts
var-exporter
webmozart
woocommerce
yahnis-elsts
autoload.php
scoper-autoload.php
inc
lang
views
.gitignore
LICENSE
autoload.php
composer.json
constants.php
loco.xml
readme.txt
sunrise.php
uninstall.php
wp-multisite-waas.php
28 lines
699 B
PHP
28 lines
699 B
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Symfony package.
|
|
*
|
|
* (c) Fabien Potencier <fabien@symfony.com>
|
|
*
|
|
* For the full copyright and license information, please view the LICENSE
|
|
* file that was distributed with this source code.
|
|
*/
|
|
namespace Symfony\Component\Translation\Reader;
|
|
|
|
use Symfony\Component\Translation\MessageCatalogue;
|
|
/**
|
|
* TranslationReader reads translation messages from translation files.
|
|
*
|
|
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
|
*/
|
|
interface TranslationReaderInterface
|
|
{
|
|
/**
|
|
* Reads translation messages from a directory to the catalogue.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function read(string $directory, MessageCatalogue $catalogue);
|
|
}
|