GameIndividual::getIndividual()   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 `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