CallbackTransformer
class CallbackTransformer implements DataTransformerInterface
Methods
__construct(callable $transform, callable $reverseTransform)
No description
mixed
transform(mixed $data)
Transforms a value from the original representation to a transformed representation.
mixed
reverseTransform(mixed $data)
Transforms a value from the transformed representation to its original representation.