DeveloperRole::getId()   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\PubDev;
3
4
/**
5
 * Maps to the `developer_role` table
6
 */
7
class DeveloperRole {
8
    private $id;
9
    private $role;
10
11
    public function __construct($id, $role) {
12
        $this->id = $id;
13
        $this->role = $role;
14
    }
15
16
    public function getId() {
17
        return $this->id;
18
    }
19
20
    public function getRole() {
21
        return $this->role;
22
    }
23
}
24