4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Translation\Reader;
14 use Symfony\Component\Translation\MessageCatalogue;
17 * TranslationReader reads translation messages from translation files.
19 * @author Tobias Nyholm <tobias.nyholm@gmail.com>
21 interface TranslationReaderInterface
24 * Reads translation messages from a directory to the catalogue.
26 * @param string $directory
27 * @param MessageCatalogue $catalogue
29 public function read($directory, MessageCatalogue $catalogue);