Total Complexity | 3 |
Total Lines | 24 |
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()) |
||
23 | ]; |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @inheritdoc |
||
28 | */ |
||
29 | public function supportsNormalization($data, $format = null): bool |
||
34 |