Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame^] | 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * This file is part of the Carbon package. |
| 5 | * |
| 6 | * (c) Brian Nesbitt <brian@nesbot.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 | |
| 12 | namespace Carbon; |
| 13 | |
| 14 | use Symfony\Component\Translation\MessageCatalogueInterface; |
| 15 | |
| 16 | /** |
| 17 | * Mark translator using strong type from symfony/translation >= 6. |
| 18 | */ |
| 19 | interface TranslatorStrongTypeInterface |
| 20 | { |
| 21 | public function getFromCatalogue(MessageCatalogueInterface $catalogue, string $id, string $domain = 'messages'); |
| 22 | } |