AbstractNormalizer::CALLBACKS
Hashmap of field name => callable to (de)normalize this field.
The callable is called if the field is encountered with the arguments:
- mixed $attributeValue value of this field
- object|string $object the whole object being normalized or the object's class being denormalized
- string $attributeName name of the attribute being (de)normalized
- string $format the requested format
- array $context the serialization context
File
-
vendor/
symfony/ serializer/ Normalizer/ AbstractNormalizer.php, line 93
Class
- AbstractNormalizer
- Normalizer implementation.
Namespace
Symfony\Component\Serializer\NormalizerCode
public const CALLBACKS = 'callbacks';