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

@param string $valueAsString

@return string
Transforms a string into a serialized string