Media::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 3
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
namespace AL\Common\Model\Dump;
3
4
/**
5
 * Maps to the `Media` table
6
 */
7
class Media {
8
    private $id;
9
    private $label;
10
    private $media_type;
11
12
    public function __construct($id, $label, $media_type) {
13
        $this->id = $id;
14
        $this->label = $label;
15
        $this->media_type = $media_type;
16
    }
17
18
    public function getId() {
19
        return $this->id;
20
    }
21
    
22
    public function getLabel() {
23
        return $this->label;
24
    }
25
26
    public function getMediaType() {
27
        return $this->media_type;
28
    }
29
}
30