ChoicesToValuesTransformer
ChoicesToValuesTransformer
class ChoicesToValuesTransformer implements DataTransformerInterface
Methods
__construct(ChoiceListInterface $choiceList) Constructor. | ||
mixed | transform(array $array) | |
mixed | reverseTransform(array $array) |
Details
__construct(ChoiceListInterface $choiceList)
Constructor.
mixed transform(array $array)
mixed reverseTransform(array $array)
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Form/Extension/Core/DataTransformer/ChoicesToValuesTransformer.html