function Global / trans_choice
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

trans_choice

trans_choice ( ) : string

Translates the given message based on a count.

Parameters

  • $key string
  • $number Countable |int|array
  • $replace array
  • $locale string|null