function InflectorInterface::pluralize
Returns the plural forms of a string.
If the method can't determine the form with certainty, several possible plurals are returned.
Return value
string[]
3 methods override InflectorInterface::pluralize()
- EnglishInflector::pluralize in vendor/
symfony/ string/ Inflector/ EnglishInflector.php - Returns the plural forms of a string.
- FrenchInflector::pluralize in vendor/
symfony/ string/ Inflector/ FrenchInflector.php - Returns the plural forms of a string.
- SpanishInflector::pluralize in vendor/
symfony/ string/ Inflector/ SpanishInflector.php - Returns the plural forms of a string.
File
-
vendor/
symfony/ string/ Inflector/ InflectorInterface.php, line 32
Class
Namespace
Symfony\Component\String\InflectorCode
public function pluralize(string $singular) : array;