1 | <?php |
||
16 | class CustomChoiceListType extends AbstractType |
||
17 | { |
||
18 | /** |
||
19 | * @var |
||
20 | */ |
||
21 | protected $choiceList; |
||
22 | |||
23 | /** |
||
24 | * @var |
||
25 | */ |
||
26 | protected $choiceListName; |
||
27 | |||
28 | /** |
||
29 | * @var |
||
30 | */ |
||
31 | protected $manager; |
||
32 | |||
33 | /** |
||
34 | * Construct the ChoiceList |
||
35 | * |
||
36 | * @param string $choiceList |
||
37 | * @param string $choiceListName |
||
38 | */ |
||
39 | public function __construct($choiceList, $choiceListName) |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public function buildForm(FormBuilderInterface $builder, array $options) |
||
56 | |||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | */ |
||
60 | public function getParent() |
||
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | */ |
||
68 | public function configureOptions(OptionsResolver $resolver) |
||
72 | |||
73 | /** |
||
74 | * Set the manager for the Choice List |
||
75 | * |
||
76 | * @param string $manager |
||
77 | */ |
||
78 | public function setManager($manager) |
||
82 | } |
||
83 |