( ! ) Warning: Undefined variable $namespace in /home/homes/alexandrelus/sites/live39/project-final/saint-leman/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Encoder.tpl.php on line 3 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0039 | 359560 | {main}( ) | .../Encoder.tpl.php:0 |
;
use Symfony\Component\Serializer\Encoder\DecoderInterface;
use Symfony\Component\Serializer\Encoder\EncoderInterface;
class
( ! ) Warning: Undefined variable $class_name in /home/homes/alexandrelus/sites/live39/project-final/saint-leman/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Encoder.tpl.php on line 8 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0039 | 359560 | {main}( ) | .../Encoder.tpl.php:0 |
implements EncoderInterface, DecoderInterface
{
const FORMAT = '
( ! ) Warning: Undefined variable $format in /home/homes/alexandrelus/sites/live39/project-final/saint-leman/vendor/symfony/maker-bundle/src/Resources/skeleton/serializer/Encoder.tpl.php on line 10 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0039 | 359560 | {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;
}
}