public function reverseTransform($valueAsArray)
    {
        if (empty($valueAsArray)) {
            $valueAsArray = [];
        }
        if (!is_array($valueAsArray)) {
            $valueAsArray = [$valueAsArray];
        }
        return serialize($valueAsArray);
    }
public function reverseTransform($valueAsArray)
    {
        if (empty($valueAsArray)) {
            $valueAsArray = [];
        }
        if (!is_array($valueAsArray)) {
            $valueAsArray = [$valueAsArray];
        }
        return serialize($valueAsArray);
    }
public function reverseTransform ( $ valueAsArray ) { if ( empty ( $ valueAsArray ) ) { $ valueAsArray = [ ] ; } if ( ! is_array ( $ valueAsArray ) ) { $ valueAsArray = [ $ valueAsArray ] ; } return serialize ( $ valueAsArray ) ; }
Transforms an array into a string

@param array $valueAsArray

@return string
Transforms an array into a string