wp-user-avatar
/
third-party
/
vendor
/
symfony
/
translation
/
Formatter
/
IntlFormatterInterface.php
IntlFormatter.php
2 months ago
IntlFormatterInterface.php
2 months ago
MessageFormatter.php
2 months ago
MessageFormatterInterface.php
2 months ago
IntlFormatterInterface.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 ProfilePressVendor\Symfony\Component\Translation\Formatter; |
| 12 | |
| 13 | /** |
| 14 | * Formats ICU message patterns. |
| 15 | * |
| 16 | * @author Nicolas Grekas <p@tchwork.com> |
| 17 | */ |
| 18 | interface IntlFormatterInterface |
| 19 | { |
| 20 | /** |
| 21 | * Formats a localized message using rules defined by ICU MessageFormat. |
| 22 | * |
| 23 | * @see http://icu-project.org/apiref/icu4c/classMessageFormat.html#details |
| 24 | */ |
| 25 | public function formatIntl(string $message, string $locale, array $parameters = []): string; |
| 26 | } |
| 27 |