class PluralizationRules
Returns the plural rules for a given locale.
Methods
static int | get(int $number, string $locale) Returns the plural position to use for the given locale and number. | |
static | set(callable $rule, string $locale) Overrides the default plural rule for a given locale. |
Details
static int get(int $number, string $locale)
Returns the plural position to use for the given locale and number.
static set(callable $rule, string $locale)
Overrides the default plural rule for a given locale.
Please login to continue.