class CollectionToArrayTransformer implements DataTransformerInterface
mixed | transform(Collection $collection) Transforms a collection into an array. | |
mixed | reverseTransform(mixed $array) Transforms choice keys into entities. |
Transforms a collection into an array.
Transforms choice keys into entities.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Bridge/Doctrine/Form/DataTransformer/CollectionToArrayTransformer.html