Crew   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 15
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getName() 0 2 1
A __construct() 0 3 1
A getId() 0 2 1
1
<?php
2
namespace AL\Common\Model\Crew;
3
4
/**
5
 * Maps to the `Crews` table
6
 */
7
class Crew {
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