Enhancement::getName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
<?php
2
namespace AL\Common\Model\Game;
3
4
/**
5
 * Maps to the enhancement table
6
 */
7
class Enhancement {
8
    private $id;
9
    private $name;
10
11
    public function __construct($id, $name) {
12
        $this->id = $id;
13
        $this->name = $name;
14
    }
15
16
    public function getId() {
17
        return $this->id;
18
    }
19
20
    public function getName() {
21
        return $this->name;
22
    }
23
}
24