1 | <?php |
||
23 | final class FormFactory { |
||
24 | |||
25 | /** |
||
26 | * Date format. |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | const DATE_FORMAT = "dd/MM/yyyy"; |
||
31 | |||
32 | /** |
||
33 | * Create a choice type. |
||
34 | * |
||
35 | * @param array $choices The choices. |
||
36 | * @return array Returns the choice type. |
||
37 | */ |
||
38 | public static function createChoiceType(array $choices = []) { |
||
41 | |||
42 | /** |
||
43 | * Create an entity type. |
||
44 | * |
||
45 | * @param string $class The class. |
||
46 | * @param array $choices The choices. |
||
47 | * @param array $options The options. |
||
48 | * @return array $choices Returns the entity type. |
||
49 | */ |
||
50 | public static function createEntityType($class, array $choices = [], array $options = []) { |
||
80 | |||
81 | } |
||
82 |