1 | <?php |
||
22 | abstract class AbstractFormObjectBuilder implements FormObjectBuilderInterface |
||
23 | { |
||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $className; |
||
28 | |||
29 | /** |
||
30 | * @var FormObjectStatic |
||
31 | */ |
||
32 | protected $static; |
||
33 | |||
34 | /** |
||
35 | * @param string $className |
||
36 | * @return FormObjectStatic |
||
37 | */ |
||
38 | public function getStaticInstance($className) |
||
57 | |||
58 | /** |
||
59 | * Override this function in child classes to implement custom processes. |
||
60 | */ |
||
61 | protected function process() |
||
64 | |||
65 | /** |
||
66 | * Must return the form definition of the form class. |
||
67 | * |
||
68 | * @return FormDefinition |
||
69 | */ |
||
70 | abstract public function getFormDefinition(); |
||
71 | } |
||
72 |