| Total Complexity | 6 |
| Total Lines | 75 |
| 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 $name; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $version; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public function getPath(): string |
||
| 28 | { |
||
| 29 | return $this->path; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @param string $path |
||
| 34 | * |
||
| 35 | * @return \Dandelion\Configuration\Repository |
||
| 36 | */ |
||
| 37 | public function setPath(string $path): Repository |
||
| 38 | { |
||
| 39 | $this->path = $path; |
||
| 40 | |||
| 41 | return $this; |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getName(): string |
||
| 48 | { |
||
| 49 | return $this->name; |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param string $name |
||
| 54 | * |
||
| 55 | * @return \Dandelion\Configuration\Repository |
||
| 56 | */ |
||
| 57 | public function setName(string $name): Repository |
||
| 58 | { |
||
| 59 | $this->name = $name; |
||
| 60 | |||
| 61 | return $this; |
||
| 62 | } |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return string |
||
| 66 | */ |
||
| 67 | public function getVersion(): string |
||
| 70 | } |
||
| 71 | |||
| 72 | /** |
||
| 73 | * @param string $version |
||
| 74 | * |
||
| 75 | * @return \Dandelion\Configuration\Repository |
||
| 76 | */ |
||
| 77 | public function setVersion(string $version): Repository |
||
| 82 | } |
||
| 83 | } |
||
| 84 |