Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
8 | class UserNormalizer implements NormalizerInterface |
||
9 | { |
||
10 | /** |
||
11 | * @inheritdoc |
||
12 | * @param User $user |
||
13 | */ |
||
14 | public function normalize($user, $format = null, array $context = array()) |
||
22 | ]; |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @inheritdoc |
||
27 | */ |
||
28 | public function supportsNormalization($data, $format = null): bool |
||
33 |