GameReleaseAKA   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 13
dl 0
loc 27
rs 10
c 0
b 0
f 0
wmc 5

5 Methods

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