ProductImage::getFileName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace SpeckCatalog\Model;
4
5
class ProductImage extends AbstractModel
6
{
7
    protected $imageId;
8
    protected $label;
9
    protected $fileName;
10
    protected $productId;
11
12
    /**
13
     * @return imageId
14
     */
15
    public function getImageId()
16
    {
17
        return $this->imageId;
18
    }
19
20
    /**
21
     * @param $imageId
22
     * @return self
23
     */
24 2
    public function setImageId($imageId)
25
    {
26 2
        $this->imageId = $imageId;
27 2
        return $this;
28
    }
29
30
    /**
31
     * @return label
32
     */
33
    public function getLabel()
34
    {
35
        return $this->label;
36
    }
37
38
    /**
39
     * @param $label
40
     * @return self
41
     */
42 2
    public function setLabel($label)
43
    {
44 2
        $this->label = $label;
45 2
        return $this;
46
    }
47
48
    /**
49
     * @return fileName
50
     */
51
    public function getFileName()
52
    {
53
        return $this->fileName;
54
    }
55
56
    /**
57
     * @param $fileName
58
     * @return self
59
     */
60 2
    public function setFileName($fileName)
61
    {
62 2
        $this->fileName = $fileName;
63 2
        return $this;
64
    }
65
66
    /**
67
     * @return productId
68
     */
69
    public function getProductId()
70
    {
71
        return $this->productId;
72
    }
73
74
    /**
75
     * @param $productId
76
     * @return self
77
     */
78 2
    public function setProductId($productId)
79
    {
80 2
        $this->productId = $productId;
81 2
        return $this;
82
    }
83
}
84