Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
8 | class PersonFormIndi |
||
9 | { |
||
10 | protected const TemplatePath = __DIR__.'/../Templates/personindi.json'; |
||
11 | |||
12 | protected Form $form; |
||
13 | |||
14 | public function __construct() |
||
15 | { |
||
16 | $this->form = new Form(static::TemplatePath); |
||
17 | } |
||
18 | |||
19 | public function create() |
||
20 | { |
||
21 | return $this->form->create(); |
||
22 | } |
||
23 | |||
24 | public function edit(Person $person) |
||
39 | } |
||
40 | } |
||
41 |