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) |
||
61 | |||
62 | /** |
||
63 | * @return FormDefinitionObject |
||
64 | */ |
||
65 | protected function getFormDefinitionObject() |
||
72 | |||
73 | /** |
||
74 | * Override this function in child classes to implement custom processes. |
||
75 | */ |
||
76 | protected function process() |
||
79 | |||
80 | /** |
||
81 | * Must return the form definition of the form class. |
||
82 | * |
||
83 | * @return FormDefinition |
||
84 | */ |
||
85 | abstract public function getFormDefinition(); |
||
86 | } |
||
87 |