Skip to content

Kirby 4.4.1

I18n::form()

Returns singular or plural depending on the given number

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

Parameters

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

Return type

string

Parent class

Kirby\Toolkit\I18n