Warning: Undefined variable $namespace in /home/wordpri/www/cci/amar/Projet-v1 2 apache/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Normalizer.tpl.php on line 3
;
Warning: Undefined variable $use_statements in /home/wordpri/www/cci/amar/Projet-v1 2 apache/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Normalizer.tpl.php on line 5
class
Warning: Undefined variable $class_name in /home/wordpri/www/cci/amar/Projet-v1 2 apache/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Normalizer.tpl.php on line 7
implements NormalizerInterface { public function __construct( #[Autowire(service: 'serializer.normalizer.object')] private NormalizerInterface $normalizer ) { } public function normalize($object, string $format = null, array $context = []): array { $data = $this->normalizer->normalize($object, $format, $context); // TODO: add, edit, or delete some data return $data; } public function supportsNormalization($data, string $format = null, array $context = []): bool {
Warning: Undefined variable $entity_exists in /home/wordpri/www/cci/amar/Projet-v1 2 apache/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Normalizer.tpl.php on line 26
// TODO: return $data instanceof Object } public function getSupportedTypes(?string $format): array {
Warning: Undefined variable $entity_exists in /home/wordpri/www/cci/amar/Projet-v1 2 apache/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Normalizer.tpl.php on line 35
// TODO: return [Object::class => true]; } }