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 | * @param Filter $filterService |
||
30 | * @param bool $autoFilter |
||
31 | */ |
||
32 | public function __construct(Filter $filterService, bool $autoFilter) |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | * |
||
41 | * @deprecated since Symfony 4.2, use getExtendedTypes() instead. |
||
42 | */ |
||
43 | public function getExtendedType() |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public static function getExtendedTypes() |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function buildForm(FormBuilderInterface $builder, array $options) |
||
67 | } |
||
68 |