class DataUriNormalizer implements NormalizerInterface, DenormalizerInterface
Normalizes an {see \SplFileInfo} object to a data URI. Denormalizes a data URI to a {see \SplFileObject} object.
Methods
__construct(MimeTypeGuesserInterface $mimeTypeGuesser = null)
array|string|bool|int|float|null normalize(object $object, string $format = null, array $context = array()) Normalizes an object into a set of arrays/scalars.
bool supportsNormalization(mixed $data, string $format = null