CollectionToArrayTransformer
in package
implements
DataTransformerInterface
Tags
Table of Contents
Interfaces
- DataTransformerInterface
- Transforms a value between different representations.
Methods
- reverseTransform() : mixed
- Transforms an array into a collection.
- transform() : mixed
- Transforms a collection into an array.
Methods
reverseTransform()
Transforms an array into a collection.
public
reverseTransform(mixed $array) : mixed
Parameters
- $array : mixed
transform()
Transforms a collection into an array.
public
transform(mixed $collection) : mixed
Parameters
- $collection : mixed