Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | final class DateOutputType extends AbstractType |
||
21 | { |
||
22 | public function buildView(FormView $view, FormInterface $form, array $options): void |
||
23 | { |
||
24 | $view->vars['format'] = $options['format']; |
||
25 | $view->vars['defaultValue'] = $options['default']; |
||
26 | } |
||
27 | |||
28 | public function configureOptions(OptionsResolver $resolver): void |
||
40 | ; |
||
41 | } |
||
42 | |||
43 | public function getBlockPrefix() |
||
44 | { |
||
45 | return 'date_output'; |
||
46 | } |
||
47 | |||
48 | public function getParent() |
||
51 | } |
||
52 | } |
||
53 |