( ! ) Warning: Undefined variable $namespace in /work/home/ntrugeon/www/passibete/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Encoder.tpl.php on line 3 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0012 | 361904 | {main}( ) | .../Encoder.tpl.php:0 |
;
use Symfony\Component\Serializer\Encoder\DecoderInterface;
use Symfony\Component\Serializer\Encoder\EncoderInterface;
class
( ! ) Warning: Undefined variable $class_name in /work/home/ntrugeon/www/passibete/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Encoder.tpl.php on line 8 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0012 | 361904 | {main}( ) | .../Encoder.tpl.php:0 |
implements EncoderInterface, DecoderInterface
{
public const FORMAT = '
( ! ) Warning: Undefined variable $format in /work/home/ntrugeon/www/passibete/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Encoder.tpl.php on line 10 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0012 | 361904 | {main}( ) | .../Encoder.tpl.php:0 |
';
public function encode($data, $format, array $context = [])
{
// TODO: return your encoded data
return '';
}
public function supportsEncoding($format): bool
{
return self::FORMAT === $format;
}
public function decode($data, $format, array $context = [])
{
// TODO: return your decoded data
return '';
}
public function supportsDecoding($format): bool
{
return self::FORMAT === $format;
}
}