CollectionToArrayTransformer::transform()

mixed transform(Collection $collection)

Transforms a collection into an array.

Parameters

Collection $collection A collection of entities

Return Value

mixed The value in the transformed representation

Exceptions

TransformationFailedException
doc_Symfony
2016-10-28 06:09:28
Comments
Leave a Comment

Please login to continue.