public function reverseTransform($value)
    {
        if (!is_array($value)) {
            throw new TransformationFailedException('Expected an array.');
        }

        return empty($value) ? null : (string)array_pop($value);
    }
public function reverseTransform($value)
    {
        if (!is_array($value)) {
            throw new TransformationFailedException('Expected an array.');
        }

        return empty($value) ? null : (string)array_pop($value);
    }
public function reverseTransform ( $ value ) { if ( ! is_array ( $ value ) ) { throw new TransformationFailedException ( 'Expected an array.' ) ; } return empty ( $ value ) ? null : ( string ) array_pop ( $ value ) ; }
Convert a single element array to a string.

@param array $value

@return null|string
Convert a single element array to a string .