Total Complexity | 6 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | final class OutputType extends AbstractType implements DataTransformerInterface |
||
20 | { |
||
21 | public function buildForm(FormBuilderInterface $builder, array $options): void |
||
25 | } |
||
26 | } |
||
27 | |||
28 | public function configureOptions(OptionsResolver $resolver): void |
||
29 | { |
||
30 | $resolver->setDefaults([ |
||
31 | 'compound' => false, |
||
32 | 'required' => false, |
||
33 | 'disabled' => true, |
||
34 | ]); |
||
35 | } |
||
36 | |||
37 | public function transform($data) |
||
38 | { |
||
39 | return $data; |
||
40 | } |
||
41 | |||
42 | public function reverseTransform($data): string |
||
45 | } |
||
46 | |||
47 | public function getBlockPrefix(): string |
||
52 |