|
4 | 4 |
|
5 | 5 | namespace WayOfDev\Serializer\Bridge\Laravel\Facades;
|
6 | 6 |
|
| 7 | +use ArrayObject; |
7 | 8 | use Illuminate\Support\Facades\Facade;
|
| 9 | +use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; |
| 10 | +use Symfony\Component\Serializer\Normalizer\NormalizerInterface; |
8 | 11 |
|
| 12 | +/** |
| 13 | + * @method static string serialize(mixed $data, string $format, array $context = []) |
| 14 | + * @method static mixed deserialize(string $data, string $type, string $format, array $context = []) |
| 15 | + * @method static array|string|int|float|bool|ArrayObject|null normalize(mixed $data, string $format, array $context = []) |
| 16 | + * @method static mixed denormalize(mixed $data, string $type, ?string $format = null, array $context = []) |
| 17 | + * @method static array getSupportedTypes(?string $format) |
| 18 | + * @method static bool supportsNormalization(mixed $data, ?string $format = null, array $context = []) |
| 19 | + * @method static bool supportsDenormalization(mixed $data, string $type, ?string $format = null, array $context = []) |
| 20 | + * @method static NormalizerInterface|null getNormalizer(mixed $data, ?string $format, array $context) |
| 21 | + * @method static DenormalizerInterface|null getDenormalizer(mixed $data, string $type, ?string $format, array $context) |
| 22 | + * @method static string encode(mixed $data, string $format, array $context = []) |
| 23 | + * @method static mixed decode(string $data, string $type, string $format, array $context = []) |
| 24 | + * @method static bool supportsEncoding(string $format, array $context = []) |
| 25 | + * @method static bool supportsDecoding(string $format, array $context = []) |
| 26 | + */ |
9 | 27 | class Serializer extends Facade
|
10 | 28 | {
|
11 | 29 | protected static function getFacadeAccessor(): string
|
|
0 commit comments