public static function pluralize($count = 1, $singular, $plural = null)
    {
        if ($count == 1) {
            return $singular;
        }

        return is_null($plural) ? Inflector::pluralize($singular) : $plural;
    }
public static function pluralize($count = 1, $singular, $plural = null)
    {
        if ($count == 1) {
            return $singular;
        }

        return is_null($plural) ? Inflector::pluralize($singular) : $plural;
    }
public static function pluralize ( $ count = 1 , $ singular , $ plural = null ) { if ( $ count == 1 ) { return $ singular ; } return is_null ( $ plural ) ? Inflector :: pluralize ( $ singular ) : $ plural ; }
Return singular or plural parameter, based on the given count

@param  integer $count
@param  string  $singular
@param  string  $plural
@return string
Return singular or plural parameter based on the given count