| 1 | <?php |
||
| 19 | abstract class AbstractFormObjectBuilder implements FormObjectBuilderInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $className; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var FormObjectStatic |
||
| 28 | */ |
||
| 29 | protected $static; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param string $className |
||
| 33 | * @return FormObjectStatic |
||
| 34 | */ |
||
| 35 | public function getStaticInstance($className) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Override this function in child classes to implement custom processes. |
||
| 51 | */ |
||
| 52 | protected function process() |
||
| 55 | |||
| 56 | /** |
||
| 57 | * Must return the configuration array of the form class. |
||
| 58 | * |
||
| 59 | * @return array |
||
| 60 | */ |
||
| 61 | abstract public function getConfigurationArray(); |
||
| 62 | } |
||
| 63 |