implements |
DataTransformerInterface |
|---|
Transforms between a list of values (simple array) and a string (concatenation).
Example: edit a multi-valued field with a simple textfield (with ", ") or textarea (with "\n") form
| Methods | ||
|---|---|---|
public
|
__construct(string $sep = null, string $glue = null, bool $trim = true, bool $skip = false)
|
# |
public
|
transform(mixed $values): string
|
# |
public
|
reverseTransform(string $values): array
|
# |
| Properties | |||
|---|---|---|---|
protected
|
|
$sep = ','
|
# |
protected
|
|
$glue = null
|
# |
protected
|
|
$trim = " \n\r\t\v\x00"
|
# |
protected
|
|
$skip = false
|
# |