( ! ) Warning: Undefined variable $namespace in /home/homes/thomastestaud/sites/thomastestaud.fr_2.0/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Normalizer.tpl.php on line 3 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0123 | 358808 | {main}( ) | .../Normalizer.tpl.php:0 |
;
( ! ) Warning: Undefined variable $use_statements in /home/homes/thomastestaud/sites/thomastestaud.fr_2.0/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Normalizer.tpl.php on line 5 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0123 | 358808 | {main}( ) | .../Normalizer.tpl.php:0 |
class
( ! ) Warning: Undefined variable $class_name in /home/homes/thomastestaud/sites/thomastestaud.fr_2.0/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Normalizer.tpl.php on line 7 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0123 | 358808 | {main}( ) | .../Normalizer.tpl.php:0 |
implements NormalizerInterface, CacheableSupportsMethodInterface
{
public function __construct(private ObjectNormalizer $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
{
return $data instanceof \App\Entity\
( ! ) Warning: Undefined variable $class_name in /home/homes/thomastestaud/sites/thomastestaud.fr_2.0/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Normalizer.tpl.php on line 24 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0123 | 358808 | {main}( ) | .../Normalizer.tpl.php:0 |
;
}
public function hasCacheableSupportsMethod(): bool
{
return true;
}
}