Notice: Undefined variable: namespace in /var/www/legtux.org/users/weboconsulting/www/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Encoder.tpl.php on line 3
;
Notice: Undefined variable: use_statements in /var/www/legtux.org/users/weboconsulting/www/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Encoder.tpl.php on line 5
class
Notice: Undefined variable: class_name in /var/www/legtux.org/users/weboconsulting/www/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Encoder.tpl.php on line 7
implements EncoderInterface, DecoderInterface
{
public const FORMAT = '
Notice: Undefined variable: format in /var/www/legtux.org/users/weboconsulting/www/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Encoder.tpl.php on line 9
';
public function encode($data, string $format, array $context = []): string
{
// TODO: return your encoded data
return '';
}
public function supportsEncoding(string $format, array $context = []): bool
{
return self::FORMAT === $format;
}
public function decode(string $data, string $format, array $context = [])
{
// TODO: return your decoded data
return '';
}
public function supportsDecoding(string $format, array $context = []): bool
{
return self::FORMAT === $format;
}
}