Chris@14: Chris@14: * Chris@14: * For the full copyright and license information, please view the LICENSE Chris@14: * file that was distributed with this source code. Chris@14: */ Chris@14: Chris@14: namespace Symfony\Component\Translation\Formatter; Chris@14: Chris@14: /** Chris@14: * @author Abdellatif Ait boudad Chris@14: */ Chris@14: interface ChoiceMessageFormatterInterface Chris@14: { Chris@14: /** Chris@14: * Formats a localized message pattern with given arguments. Chris@14: * Chris@14: * @param string $message The message (may also be an object that can be cast to string) Chris@14: * @param int $number The number to use to find the indice of the message Chris@14: * @param string $locale The message locale Chris@14: * @param array $parameters An array of parameters for the message Chris@14: * Chris@14: * @return string Chris@14: */ Chris@17: public function choiceFormat($message, $number, $locale, array $parameters = []); Chris@14: }