class Pluralizer (View source)
static string[] | $uncountable | Uncountable word forms. |
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. | |
static bool | uncountable(string $value) Determine if the given value is uncountable. | |
static string | matchCase(string $value, string $comparison) Attempt to match the case on two strings. | |
static Inflector | inflector() Get the inflector instance. |
Get the plural form of an English word.
Get the singular form of an English word.
Determine if the given value is uncountable.
Attempt to match the case on two strings.
Get the inflector instance.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Support/Pluralizer.html