( ! ) Warning: Undefined variable $namespace in /work/home/rbenmimo/www/TP3-rbenmimo/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Encoder.tpl.php on line 3 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0011 | 362344 | {main}( ) | .../Encoder.tpl.php:0 |
;
( ! ) Warning: Undefined variable $use_statements in /work/home/rbenmimo/www/TP3-rbenmimo/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Encoder.tpl.php on line 5 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0011 | 362344 | {main}( ) | .../Encoder.tpl.php:0 |
class
( ! ) Warning: Undefined variable $class_name in /work/home/rbenmimo/www/TP3-rbenmimo/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Encoder.tpl.php on line 7 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0011 | 362344 | {main}( ) | .../Encoder.tpl.php:0 |
implements EncoderInterface, DecoderInterface
{
public const FORMAT = '
( ! ) Warning: Undefined variable $format in /work/home/rbenmimo/www/TP3-rbenmimo/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Encoder.tpl.php on line 9 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0011 | 362344 | {main}( ) | .../Encoder.tpl.php:0 |
';
public function encode(mixed $data, string $format, array $context = []): string
{
// TODO: return your encoded data
return '';
}
public function supportsEncoding(string $format): bool
{
return self::FORMAT === $format;
}
public function decode(string $data, string $format, array $context = [])
( ! ) Warning: Undefined variable $use_decoder_return_type in /work/home/rbenmimo/www/TP3-rbenmimo/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Encoder.tpl.php on line 22 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0011 | 362344 | {main}( ) | .../Encoder.tpl.php:0 |
{
// TODO: return your decoded data
return '';
}
public function supportsDecoding(string $format): bool
{
return self::FORMAT === $format;
}
}