Pluralizer (Support)
Pluralizer
class Pluralizer (View source)
Properties
static array | $uncountable | Uncountable word forms. |
Methods
static string | plural( string $value, int $count = 2) Get the plural form of an English word. | |
static string | singular( string $value) Get the singular form of an English word. |
Details
static string plural( string $value, int $count = 2)
Get the plural form of an English word.
static string singular( string $value)
Get the singular form of an English word.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Support/Pluralizer.html