Punic\Plural
classΒΆ
Need to know the plural of a number? Use this class.
use Punic\Plural;
echo Plural::getRule(1, 'en');
// Output: one
echo Plural::getRule(2, 'en');
// Output: other
Punic\Plural
classΒΆNeed to know the plural of a number? Use this class.
use Punic\Plural;
echo Plural::getRule(1, 'en');
// Output: one
echo Plural::getRule(2, 'en');
// Output: other