Total Complexity | 4 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
7 | class Repository |
||
8 | { |
||
9 | /** |
||
10 | * @var string |
||
11 | */ |
||
12 | protected $path; |
||
13 | |||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $version; |
||
18 | |||
19 | /** |
||
20 | * @return string |
||
21 | */ |
||
22 | public function getPath(): string |
||
23 | { |
||
24 | return $this->path; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param string $path |
||
29 | * |
||
30 | * @return \Dandelion\Configuration\Repository |
||
31 | */ |
||
32 | public function setPath(string $path): Repository |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getVersion(): string |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * @param string $version |
||
49 | * |
||
50 | * @return \Dandelion\Configuration\Repository |
||
51 | */ |
||
52 | public function setVersion(string $version): Repository |
||
59 |