コード例 #1
0
 public static function conditionallyPluralize($string, $count)
 {
     if (intval($count) !== 0) {
         return MyClass::pluralize($string);
     }
     return $string;
 }