TranslationReaderInterface.php
27 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\Reader; |
| 12 | |
| 13 | use IAWPSCOPED\Symfony\Component\Translation\MessageCatalogue; |
| 14 | /** |
| 15 | * TranslationReader reads translation messages from translation files. |
| 16 | * |
| 17 | * @author Tobias Nyholm <tobias.nyholm@gmail.com> |
| 18 | * @internal |
| 19 | */ |
| 20 | interface TranslationReaderInterface |
| 21 | { |
| 22 | /** |
| 23 | * Reads translation messages from a directory to the catalogue. |
| 24 | */ |
| 25 | public function read(string $directory, MessageCatalogue $catalogue); |
| 26 | } |
| 27 |