| Total Complexity | 7 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class Base |
||
| 9 | { |
||
| 10 | |||
| 11 | private $name = ''; |
||
| 12 | private $id = 'null'; |
||
| 13 | |||
| 14 | 24 | public function __toString() { |
|
| 15 | 24 | return $this->name; |
|
| 16 | } |
||
| 17 | |||
| 18 | 107 | public function setName(string $name) { |
|
| 19 | 107 | $this->name = $name; |
|
| 20 | 107 | } |
|
| 21 | 13 | public function getName() { |
|
| 22 | 13 | return $this->name; |
|
| 23 | } |
||
| 24 | 107 | public function setId($id) { |
|
| 30 | 107 | } |
|
| 31 | 83 | public function getId() { |
|
| 32 | 83 | return $this->id; |
|
| 33 | } |
||
| 34 | |||
| 36 |