normalizer->normalize($object, $format, $context); // TODO: add, edit, or delete some data return $data; } public function supportsNormalization($data, string $format = null, array $context = []): bool { // TODO: return $data instanceof Object } public function getSupportedTypes(?string $format): array { // TODO: return [Object::class => true]; } }