Symfony\Component\Form\Extension\Core\DataTransformer\ChoicesToValuesTransformer::transform
Signature
public function transform(array
$array )
Parameters
$array
— array
Returns
- array
Errors/Exceptions
-
TransformationFailedException
- If the given value is not an array.