Symfony\Component\Form\DataTransformerInterface
Transforms a value between different representations.
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
interface DataTransformerInterface
{
- // methods
- public mixed transform()
- public mixed reverseTransform()
Methods
public
- reverseTransform() — Transforms a value from the transformed representation to its original representation.
- transform() — Transforms a value from the original representation to a transformed representation.