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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.