Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class RepositoryForm |
||
10 | { |
||
11 | protected const TemplatePath = __DIR__.'/../Templates/repositories.json'; |
||
12 | |||
13 | protected Form $form; |
||
14 | |||
15 | public function __construct() |
||
18 | } |
||
19 | |||
20 | public function create() |
||
21 | { |
||
22 | return $this->form |
||
23 | ->options('type_id', Type::all()) |
||
24 | ->create(); |
||
25 | } |
||
26 | |||
27 | public function edit(Repository $repository) |
||
32 | } |
||
33 | } |
||
34 |