| Total Complexity | 7 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | class Info |
||
| 17 | { |
||
| 18 | private $title; |
||
| 19 | private $description; |
||
| 20 | private $termsOfService; |
||
| 21 | private $contact; |
||
| 22 | private $license; |
||
| 23 | private $version; |
||
| 24 | |||
| 25 | public function __construct(string $title, string $version, string $description = '', string $termsOfService = null, Contact $contact = null, License $license = null) |
||
| 33 | } |
||
| 34 | |||
| 35 | public function getTitle() |
||
| 36 | { |
||
| 37 | return $this->title; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function getDescription() |
||
| 41 | { |
||
| 42 | return $this->description; |
||
| 43 | } |
||
| 44 | |||
| 45 | public function getTermsOfService() |
||
| 46 | { |
||
| 47 | return $this->termsOfService; |
||
| 48 | } |
||
| 49 | |||
| 50 | public function getContact() |
||
| 51 | { |
||
| 52 | return $this->contact; |
||
| 53 | } |
||
| 54 | |||
| 55 | public function getLicense() |
||
| 58 | } |
||
| 59 | |||
| 60 | public function getVersion() |
||
| 63 | } |
||
| 64 | } |
||
| 65 |