Total Complexity | 4 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class Owner |
||
8 | { |
||
9 | /** |
||
10 | * @var string |
||
11 | */ |
||
12 | protected $type; |
||
13 | |||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $name; |
||
18 | |||
19 | /** |
||
20 | * @return string |
||
21 | */ |
||
22 | public function getType(): string |
||
23 | { |
||
24 | return $this->type; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param string $type |
||
29 | * |
||
30 | * @return \Dandelion\Configuration\Vcs\Owner |
||
31 | */ |
||
32 | public function setType(string $type): Owner |
||
33 | { |
||
34 | $this->type = $type; |
||
35 | |||
36 | return $this; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getName(): string |
||
43 | { |
||
44 | return $this->name; |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * @param string $name |
||
49 | * |
||
50 | * @return \Dandelion\Configuration\Vcs\Owner |
||
51 | */ |
||
52 | public function setName(string $name): Owner |
||
57 | } |
||
58 | } |
||
59 |