Sindbad~EG File Manager
<?= "<?php\n" ?>
namespace <?= $namespace; ?>;
use Symfony\Component\Serializer\Encoder\DecoderInterface;
use Symfony\Component\Serializer\Encoder\EncoderInterface;
class <?= $class_name ?> implements EncoderInterface, DecoderInterface
{
public const FORMAT = '<?= $format ?>';
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;
}
}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists