Skip to content

Kirby 5.0.4

I18n::form()

Returns singular or plural depending on the given number

I18n::form(int $count, bool $none = false): string

Parameters

Name Type Default Description
$countrequired int no default value
$none bool false If true, 'none' will be returned if the count is 0

Return type

string

Parent class

Kirby\Toolkit\I18n