| Total Complexity | 4 |
| Total Lines | 50 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class Vcs |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var \Dandelion\Configuration\Vcs\Owner |
||
| 13 | */ |
||
| 14 | protected $owner; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $token; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return \Dandelion\Configuration\Vcs\Owner |
||
| 23 | */ |
||
| 24 | public function getOwner(): Owner |
||
| 25 | { |
||
| 26 | return $this->owner; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param \Dandelion\Configuration\Vcs\Owner $owner |
||
| 31 | * |
||
| 32 | * @return \Dandelion\Configuration\Vcs |
||
| 33 | */ |
||
| 34 | public function setOwner(Owner $owner): Vcs |
||
| 35 | { |
||
| 36 | $this->owner = $owner; |
||
| 37 | |||
| 38 | return $this; |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | public function getToken(): string |
||
| 47 | } |
||
| 48 | |||
| 49 | /** |
||
| 50 | * @param string $token |
||
| 51 | * |
||
| 52 | * @return \Dandelion\Configuration\Vcs |
||
| 53 | */ |
||
| 54 | public function setToken(string $token): Vcs |
||
| 59 | } |
||
| 60 | } |
||
| 61 |