tc()
Translates a count
tc(string $key, int $count, string $locale = null, bool $formatNumber = true): mixed
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $key * | string |
– | |
| $count * | int |
– | |
| $locale | string |
null |
|
| $formatNumber | bool |
true |
If set to false, the count is not formatted |
Return type
mixed