| 1 | <?php |
||
| 9 | final class JmsNormalizerAdapter implements NormalizerInterface |
||
| 10 | { |
||
| 11 | /** @var ArrayTransformerInterface */ |
||
| 12 | private $normalizer; |
||
| 13 | /** @var SerializationContextFactoryInterface */ |
||
| 14 | private $contextFactory; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * JmsNormalizerAdapter constructor. |
||
| 18 | * |
||
| 19 | * @param ArrayTransformerInterface $normalizer |
||
| 20 | * @param SerializationContextFactoryInterface $contextFactory |
||
| 21 | */ |
||
| 22 | 8 | public function __construct( |
|
| 29 | |||
| 30 | /** {@inheritdoc} */ |
||
| 31 | 6 | public function normalize($entity, array $context = []) |
|
| 42 | } |
||
| 43 |