implements |
DataTransformerInterface |
|---|
Conversion pour valeur booléenne à 3 niveau (vrai/faux/null).
| Methods | ||
|---|---|---|
public
|
__construct(bool $notnull = null)
|
# |
public
|
transform(mixed $value): string
|
# |
public
|
reverseTransform(mixed $value): bool|null
|
# |
| Properties | |||
|---|---|---|---|
protected
|
|
$values = ['null' => '', 'false' => '0', 'true' => '1']
|
# |
private
|
|
$nullable
|
# |