Completed
Push — master ( ab54c8...77228d )
by Jean-Christophe
01:47
created

GitFile::getStatus()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Ubiquity\utils\git;
4
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
	}
39
40
}
41
42