Method: str::plural
A switch to display either one or the other string dependend on a counter
Info
Syntax
str::plural($count, $many, $one, $zero='')
Parameters
- $count (int) The counter
- $many (string) The string to be displayed for a counter > 1
- $one (string) The string to be displayed for a counter == 1
- $zero (string) The string to be displayed for a counter == 0
Return (string)
The string