Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class RequestBody |
||
17 | { |
||
18 | private $description; |
||
19 | private $content; |
||
20 | private $required; |
||
21 | |||
22 | public function __construct(string $description = '', array $content = [], bool $required = false) |
||
27 | } |
||
28 | |||
29 | public function getDescription() |
||
30 | { |
||
31 | return $this->description; |
||
32 | } |
||
33 | |||
34 | public function getContent() |
||
35 | { |
||
36 | return $this->content; |
||
37 | } |
||
38 | |||
39 | public function getRequired() |
||
42 | } |
||
43 | } |
||
44 |