Symfony\Component\Form\Extension\Core\DataTransformer\BooleanToStringTransformer::transform
Transforms a Boolean into a string.
Signature
public function transform(Boolean
$value )
Parameters
$value
— object- Boolean value.
Returns
- string
- String value.
Errors/Exceptions
-
TransformationFailedException
- If the given value is not a Boolean.