Symfony\Component\Translation\MessageSelector
MessageSelector.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
Methods
public
- choose() — Given a message with different plural translations separated by a pipe (|), this method returns the correct portion of the message based on the given number, locale and the pluralization rules in the message itself.