Notice: Undefined variable: namespace in C:\SistemasPHP\ccp\vendor\symfony\maker-bundle\src\Resources\skeleton\serializer\Encoder.tpl.php on line 3
;
use Symfony\Component\Serializer\Encoder\DecoderInterface;
use Symfony\Component\Serializer\Encoder\EncoderInterface;
class
Notice: Undefined variable: class_name in C:\SistemasPHP\ccp\vendor\symfony\maker-bundle\src\Resources\skeleton\serializer\Encoder.tpl.php on line 8
implements EncoderInterface, DecoderInterface
{
const FORMAT = '
Notice: Undefined variable: format in C:\SistemasPHP\ccp\vendor\symfony\maker-bundle\src\Resources\skeleton\serializer\Encoder.tpl.php on line 10
';
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;
}
}