blob: ef4dee8e287b29b96dc8d91cc74a1b2922e16e53 [file] [log] [blame]
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +01001<?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
12namespace Carbon;
13
14use Symfony\Component\Translation\MessageCatalogueInterface;
15
16/**
17 * Mark translator using strong type from symfony/translation >= 6.
18 */
19interface TranslatorStrongTypeInterface
20{
21 public function getFromCatalogue(MessageCatalogueInterface $catalogue, string $id, string $domain = 'messages');
22}