| Total Complexity | 5 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class GitFile { |
||
| 6 | private $name; |
||
| 7 | private $status; |
||
| 8 | public function __construct($name="",$status=""){ |
||
| 9 | $this->name=$name; |
||
| 10 | $this->status=$status; |
||
| 11 | } |
||
| 12 | /** |
||
| 13 | * @return mixed |
||
| 14 | */ |
||
| 15 | public function getName() { |
||
| 16 | return $this->name; |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return string |
||
| 21 | */ |
||
| 22 | public function getStatus() { |
||
| 23 | return $this->status; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param mixed $name |
||
| 28 | */ |
||
| 29 | public function setName($name) { |
||
| 30 | $this->name = $name; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $status |
||
| 35 | */ |
||
| 36 | public function setStatus($status) { |
||
| 37 | $this->status = $status; |
||
| 38 | } |
||
| 42 |