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

Os::setFamily()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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
}