separator = $separator; } public function transform( $value, $key ) { return implode( $this->separator, array_filter( $value ) ); } }