class CollectionToArrayTransformer implements DataTransformerInterface
Methods
mixed | transform(Collection $collection) Transforms a collection into an array. | |
mixed | reverseTransform(mixed $array) Transforms choice keys into entities. |
Details
mixed transform(Collection $collection)
Transforms a collection into an array.
mixed reverseTransform(mixed $array)
Transforms choice keys into entities.
Please login to continue.