src/Forms/MultiSelectField.php
protected function csvEncode($value)
    {
        if (!$value) {
            return null;
        }
        return implode(
            ',',
            array_map(
                function ($x) {
                    return str_replace(',', '', $x);
                },
                array_values($value)
            )
        );
    }
protected function csvEncode($value)
    {
        if (!$value) {
            return null;
        }
        return implode(
            ',',
            array_map(
                function ($x) {
                    return str_replace(',', '', $x);
                },
                array_values($value)
            )
        );
    }
protected function csvEncode ( $ value ) { if ( ! $ value ) { return null ; } return implode ( ',' , array_map ( function ( $ x ) { return str_replace ( ',' , '' , $ x ) ; } , array_values ( $ value ) ) ) ; }
Encode a list of values into a string as a comma separated list.
Commas will be stripped from the items passed in

@param array $value
@return string|null
Encode a list of values into a string as a comma separated list . Commas will be stripped from the items passed in