1 | <?php |
||
15 | class UserNormalizer implements NormalizerInterface |
||
16 | { |
||
17 | /** @var array */ |
||
18 | protected $supportedFormats = ['json']; |
||
19 | |||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | */ |
||
23 | public function normalize($user, $format = null, array $context = []) |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | public function supportsNormalization($data, $format = null) |
||
40 | |||
41 | /** |
||
42 | * @param array $tags |
||
43 | * |
||
44 | * @return array |
||
45 | */ |
||
46 | private function normalizeTags(array $tags) |
||
55 | } |
||
56 |