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