MediaScan::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\Dump;
3
4
/**
5
 * Maps to the `MediaScan` table
6
 */
7
class MediaScan {
8
    private $id;
9
    private $media_id;
10
    private $image;
11
    private $media_scan_type;
12
13
    public function __construct($id, $media_id, $image, $media_scan_type) {
14
        $this->id = $id;
15
        $this->media_id = $media_id;
16
        $this->media_scan_type = $media_scan_type;
17
        $this->image = $image;
18
    }
19
20
    public function getId() {
21
        return $this->id;
22
    }
23
24
    public function getMediaId() {
25
        return $this->media_id;
26
    }
27
    
28
    public function getMediaScanType() {
29
        return $this->media_scan_type;
30
    }
31
    
32
    public function getImage() {
33
        return $this->image;
34
    }
35
}
36