Symfony\Component\Serializer\Normalizer\NormalizerInterface
Defines the interface of normalizers.
- Author: Jordi Boggiano <j.boggiano@seld.be>
Synopsis
interface NormalizerInterface
{
- // methods
- public array|scalar normalize()
- public Boolean supportsNormalization()
Methods
public
- normalize() — Normalizes an object into a set of arrays/scalars
- supportsNormalization() — Checks whether the given class is supported for normalization by this normalizer