GameIndividual   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 getId() 0 2 1
A getRole() 0 2 1
A getIndividual() 0 2 1
A getGame() 0 2 1
A __construct() 0 5 1
1
<?php
2
namespace AL\Common\Model\Game;
3
4
/**
5
 * Maps to the `Game_individual` table
6
 */
7
class GameIndividual {
8
    private $id;
9
    private $game;
10
    private $individual;
11
    private $role;
12
13
    public function __construct($id, $game, $individual, $role) {
14
        $this->id = $id;
15
        $this->game = $game;
16
        $this->individual = $individual;
17
        $this->role = $role;
18
    }
19
20
    public function getId() {
21
        return $this->id;
22
    }
23
24
    public function getGame() {
25
        return $this->game;
26
    }
27
28
    public function getIndividual() {
29
        return $this->individual;
30
    }
31
32
    public function getRole() {
33
        return $this->role;
34
    }
35
}
36