Total Complexity | 6 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | final class OutputType extends AbstractType implements DataTransformerInterface |
||
20 | { |
||
21 | /** |
||
22 | * {@inheritdoc} |
||
23 | */ |
||
24 | public function buildForm(FormBuilderInterface $builder, array $options) |
||
28 | } |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | public function configureOptions(OptionsResolver $resolver): void |
||
35 | { |
||
36 | $resolver->setDefaults([ |
||
37 | 'compound' => false, |
||
38 | 'required' => false, |
||
39 | 'disabled' => true, |
||
40 | ]); |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function transform($data) |
||
47 | { |
||
48 | return $data; |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function reverseTransform($data) |
||
57 | } |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function getBlockPrefix() |
||
67 |