Newscoop\GimmeBundle\Form\DataTransformer\StringToArrayTransformer::transform PHP Method

transform() public method

Transforms array to string with implode.
public transform ( array $array ) : string
$array array
return string
    public function transform($array)
    {
        return implode(',', $array);
    }
StringToArrayTransformer