1 | <?php |
||
21 | final class JWSNormalizer implements NormalizerInterface, DenormalizerInterface |
||
22 | { |
||
23 | public function supportsNormalization($data, $format = null) |
||
27 | |||
28 | public function supportsDenormalization($data, $type, $format = null) |
||
32 | |||
33 | public function normalize($object, $format = null, array $context = []) |
||
37 | |||
38 | /** |
||
39 | * @param mixed $data Data to restore |
||
40 | * @param string $type The expected class to instantiate |
||
41 | * @param string $format Format the given data was extracted from |
||
42 | * @param array $context Options available to the denormalizer |
||
43 | * |
||
44 | * @return array|object |
||
45 | */ |
||
46 | public function denormalize($data, $type, $format = null, array $context = []) |
||
50 | |||
51 | /** |
||
52 | * Check if encryption component is installed. |
||
53 | */ |
||
54 | private function componentInstalled(): bool |
||
58 | } |
||
59 |