System   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 10
dl 0
loc 21
rs 10
c 0
b 0
f 0
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getEnhancement() 0 2 1
A __construct() 0 4 1
A getName() 0 2 1
A getId() 0 2 1
1
<?php
2
namespace AL\Common\Model\Game;
3
4
/**
5
 * Maps to the `system` table
6
 */
7
class System {
8
    private $id;
9
    private $name;
10
    private $enhancement;
11
12
    public function __construct($id, $name, $enhancement) {
13
        $this->id = $id;
14
        $this->name = $name;
15
        $this->enhancement = $enhancement;
16
    }
17
18
    public function getId() {
19
        return $this->id;
20
    }
21
22
    public function getName() {
23
        return $this->name;
24
    }
25
    
26
    public function getEnhancement() {
27
        return $this->enhancement;
28
    }
29
}
30