1 | <?php |
||
9 | class SimpleArrayType extends AbstractType |
||
10 | { |
||
11 | /** |
||
12 | * Builds the form. |
||
13 | * |
||
14 | * This method is called for each type in the hierarchy starting from the |
||
15 | * top most type. Type extensions can further modify the form. |
||
16 | * |
||
17 | * @param FormBuilderInterface $builder The form builder. |
||
18 | * @param array $options The options. |
||
19 | * |
||
20 | * @see FormTypeExtensionInterface::buildForm() |
||
21 | */ |
||
22 | public function buildForm(FormBuilderInterface $builder, array $options) |
||
26 | |||
27 | /** |
||
28 | * Returns the name of the parent type. |
||
29 | * |
||
30 | * You can also return a type instance from this method, although doing so |
||
31 | * is discouraged because it leads to a performance penalty. The support |
||
32 | * for returning type instances may be dropped from future releases. |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | public function getParent() |
||
42 | |||
43 | /** |
||
44 | * Returns the name of this type. |
||
45 | * |
||
46 | * @return string |
||
47 | */ |
||
48 | public function getName() |
||
52 | } |
||
53 |