Completed
Push — 4.0 ( c710b5...5960ab )
by Serhii
02:22
created

Os   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 21
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getFamily() 0 4 1
A setFamily() 0 4 1
1
<?php
2
3
namespace EndorphinStudio\Detector\Data;
4
5
class Os extends AbstractDataWithVersion
6
{
7
    /**
8
     * @return string
9
     */
10
    public function getFamily(): string
11
    {
12
        return $this->family;
13
    }
14
15
    /**
16
     * @param string $family
17
     */
18
    public function setFamily(string $family)
19
    {
20
        $this->family = $family;
21
    }
22
23
    /** @var string */
24
    protected $family;
25
}