Guides
Tutorials
public __construct(bool $debug, array $defaultContext)public __construct(bool $debug, array $defaultContext)| debug | bool | |
| defaultContext | array |
Normalizes an object into a set of arrays/scalars.
public normalize($object, null|string $format, array $context): arraypublic normalize($object, null|string $format, array $context): array| object | ||
| format | string | |
| context | array |
array
Checks whether the given class is supported for normalization by this normalizer.
public supportsNormalization($data, null|string $format, array $context): boolpublic supportsNormalization($data, null|string $format, array $context): bool| data | ||
| format | string | |
| context | array |
bool
public hasCacheableSupportsMethod(): boolpublic hasCacheableSupportsMethod(): boolbool