tc()
Translates a count
Parameters
Name | Type | Default | Description |
---|---|---|---|
$key * | string |
– | |
$count * | int |
– | |
$locale | string |null |
null |
|
$formatNumber | bool |
true |
If set to false , the count is not formatted |
Return type
mixed
|null
Example
Given a translation with a placeholder
Replace placeholder with given number