| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class Os extends AbstractDataWithVersion |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @return string Os family |
||
| 21 | */ |
||
| 22 | public function getFamily(): string |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Set Os family |
||
| 29 | * @param string $family |
||
| 30 | */ |
||
| 31 | public function setFamily(string $family) |
||
| 34 | } |
||
| 35 | |||
| 36 | /** @var string Os family */ |
||
| 37 | protected $family; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return string Browser type |
||
| 41 | */ |
||
| 42 | public function getType(): string |
||
| 43 | { |
||
| 44 | return $this->type; |
||
| 45 | } |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Set browser type |
||
| 49 | * @param string $type Browser type |
||
| 50 | */ |
||
| 51 | public function setType(string $type) |
||
| 54 | } |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @var string Browser type |
||
| 58 | */ |
||
| 59 | protected $type; |
||
| 60 | } |