wp-user-avatar
/
third-party
/
vendor
/
symfony
/
translation
/
Formatter
/
MessageFormatterInterface.php
IntlFormatter.php
2 months ago
IntlFormatterInterface.php
2 months ago
MessageFormatter.php
2 months ago
MessageFormatterInterface.php
2 months ago
MessageFormatterInterface.php
30 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 | * @author Guilherme Blanco <guilhermeblanco@hotmail.com> |
| 15 | * @author Abdellatif Ait boudad <a.aitboudad@gmail.com> |
| 16 | */ |
| 17 | interface MessageFormatterInterface |
| 18 | { |
| 19 | /** |
| 20 | * Formats a localized message pattern with given arguments. |
| 21 | * |
| 22 | * @param string $message The message (may also be an object that can be cast to string) |
| 23 | * @param string $locale The message locale |
| 24 | * @param array $parameters An array of parameters for the message |
| 25 | * |
| 26 | * @return string |
| 27 | */ |
| 28 | public function format(string $message, string $locale, array $parameters = []); |
| 29 | } |
| 30 |