| Total Complexity | 4 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | final class SectionAutocompleteChoiceType extends AbstractType |
||
| 20 | { |
||
| 21 | public function configureOptions(OptionsResolver $resolver): void |
||
| 27 | ]); |
||
| 28 | } |
||
| 29 | |||
| 30 | public function buildView( |
||
| 31 | FormView $view, |
||
| 32 | FormInterface $form, |
||
| 33 | array $options |
||
| 34 | ): void { |
||
| 35 | $view->vars['remote_criteria_type'] = 'contains'; |
||
| 36 | $view->vars['remote_criteria_name'] = 'phrase'; |
||
| 37 | } |
||
| 38 | |||
| 39 | public function getBlockPrefix(): string |
||
| 40 | { |
||
| 41 | return 'bitbag_section_autocomplete_choice'; |
||
| 42 | } |
||
| 43 | |||
| 44 | public function getParent(): string |
||
| 47 | } |
||
| 48 | } |
||
| 49 |