Total Complexity | 5 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | final class PostForm extends FormModel |
||
11 | { |
||
12 | private ?string $title = null; |
||
13 | private ?string $content = null; |
||
14 | private array $tags = []; |
||
15 | |||
16 | public function getTitle(): string |
||
19 | } |
||
20 | |||
21 | public function getContent(): ?string |
||
22 | { |
||
23 | return $this->content; |
||
24 | } |
||
25 | |||
26 | public function getFormName(): string |
||
27 | { |
||
28 | return ''; |
||
29 | } |
||
30 | |||
31 | public function getTags(): array |
||
34 | } |
||
35 | |||
36 | public function getRules(): array |
||
48 |