CollectionToArrayTransformer

CollectionToArrayTransformer

class CollectionToArrayTransformer implements DataTransformerInterface

CollectionToArrayTransformer class.

Methods

mixed transform($collection)

Transforms a value from the original representation to a transformed representation.

mixed reverseTransform($array)

Transforms a value from the transformed representation to its original representation.

Details

mixed transform($collection)

Transforms a value from the original represen