ArrayToPartsTransformer

ArrayToPartsTransformer

class ArrayToPartsTransformer implements DataTransformerInterface

Methods

__construct(array $partMapping)
mixed transform($array)

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

__construct(array $partMapping)

Parameters

登录查看完整内容