Showing 7 of 1,216 result(s)
Any words, or word endings, in the following table will not be affected by the singular method. This is either because the resulting word is already singular, or because there is no inflection available. Word endings are denoted by the prefix * :...
The str_singular function is a shortcut to calling Str::singular . This function is declared in the global namespace.
Te signature of the plural method is:
The method takes the $value that should be pluralized, and the $count of the items. If the $count is equal to 1 , the original $value is returned. Assuming the following messages array: We could display the number of messages to the user like so:...
Any words, or word endings, in the following table will not be affected by the plural method. This is either because the resulting word is already plural, or because there is no inflection available. Word endings are denoted by the prefix * : The...
The str_plural function is a shortcut to calling Str::plural . This function is declared in the global namespace.
The signature of the replaceMethod is: