src/Models/Predicates/SimplePredicate.php
private static function serializeField($value): string
    {
        if (is_string($value)) {
            return "\"" . $value . "\"";
        }
        if (is_array($value)) {
            $str_array = [];
            foreach ($value as $elt) {
                array_push($str_array, self::serializeField($elt));
            }
            return "[" . join(", ", $str_array) . "]";
        }
        return (string) $value;
    }
private static function serializeField($value): string
    {
        if (is_string($value)) {
            return "\"" . $value . "\"";
        }
        if (is_array($value)) {
            $str_array = [];
            foreach ($value as $elt) {
                array_push($str_array, self::serializeField($elt));
            }
            return "[" . join(", ", $str_array) . "]";
        }
        return (string) $value;
    }
@param mixed $value

@return string