MediaScan   A
last analyzed

Complexity

Total Complexity 5

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 13
dl 0
loc 27
rs 10
c 0
b 0
f 0
wmc 5

5 Methods

Rating   Name   Duplication   Size   Complexity  
A getMediaScanType() 0 2 1
A __construct() 0 5 1
A getImage() 0 2 1
A getId() 0 2 1
A getMediaId() 0 2 1
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