1: <?php
2:
3: namespace Charcoal\Ui\Form;
4:
5:
6: use \Charcoal\Ui\AbstractUiItem;
7: use \Charcoal\Ui\Form\FormInterface;
8: use \Charcoal\Ui\Layout\LayoutAwareInterface;
9: use \Charcoal\Ui\Layout\LayoutAwareTrait;
10: use \Charcoal\Ui\UiItemInterface;
11:
12: 13: 14: 15: 16:
17: abstract class AbstractForm extends AbstractUiItem implements
18: FormInterface,
19: LayoutAwareInterface,
20: UiItemInterface
21: {
22: use LayoutAwareTrait;
23: use FormTrait;
24:
25: 26: 27: 28: 29:
30: public function __construct($data = null)
31: {
32:
33: $this->setFormGroupFactory($data['form_group_factory']);
34:
35:
36: $this->setLayoutBuilder($data['layout_builder']);
37: }
38: }
39: