Total Complexity | 5 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types = 1); |
||
14 | class FormTypeExtension extends AbstractTypeExtension |
||
15 | { |
||
16 | /** |
||
17 | * @var Filter |
||
18 | */ |
||
19 | protected $filterService; |
||
20 | |||
21 | /** |
||
22 | * @var bool |
||
23 | */ |
||
24 | protected $autoFilter; |
||
25 | |||
26 | /** |
||
27 | * FilterListener constructor. |
||
28 | */ |
||
29 | public function __construct(Filter $filterService, bool $autoFilter) |
||
30 | { |
||
31 | $this->filterService = $filterService; |
||
32 | $this->autoFilter = $autoFilter; |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function getExtendedType() |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public static function getExtendedTypes(): iterable |
||
49 | } |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function buildForm(FormBuilderInterface $builder, array $options): void |
||
61 | } |
||
62 | } |
||
63 |