Total Complexity | 4 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | class ValidationExceptionNormalizer implements NormalizerInterface |
||
12 | { |
||
13 | use SharedTranslatorTrait; |
||
14 | |||
15 | /** |
||
16 | * @var LocationableExceptionNormalizer |
||
17 | */ |
||
18 | private $locationableExceptionNormalizer; |
||
19 | |||
20 | public function __construct(LocationableExceptionNormalizer $locationableExceptionNormalizer, Translator $translator) |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * {@inheritDoc} |
||
28 | */ |
||
29 | public function normalize($object, string $format = null, array $context = []) |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * {@inheritDoc} |
||
47 | */ |
||
48 | public function supportsNormalization($data, string $format = null) |
||
53 |