Category::getImageFileName()   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 Category extends AbstractModel
6
{
7
    protected $categoryId;
8
    protected $name;
9
    protected $seoTitle;
10
    protected $descriptionHtml;
11
    protected $imageFileName;
12
13
    /**
14
     * @return categoryId
15
     */
16
    public function getCategoryId()
17
    {
18
        return $this->categoryId;
19
    }
20
21
    /**
22
     * @param $categoryId
23
     * @return self
24
     */
25 3
    public function setCategoryId($categoryId)
26
    {
27 3
        $this->categoryId = $categoryId;
28 3
        return $this;
29
    }
30
31
    /**
32
     * @return name
33
     */
34
    public function getName()
35
    {
36
        return $this->name;
37
    }
38
39
    /**
40
     * @param $name
41
     * @return self
42
     */
43 3
    public function setName($name)
44
    {
45 3
        $this->name = $name;
46 3
        return $this;
47
    }
48
49
    /**
50
     * @return seoTitle
51
     */
52
    public function getSeoTitle()
53
    {
54
        return $this->seoTitle;
55
    }
56
57
    /**
58
     * @param $seoTitle
59
     * @return self
60
     */
61 3
    public function setSeoTitle($seoTitle)
62
    {
63 3
        $this->seoTitle = $seoTitle;
64 3
        return $this;
65
    }
66
67
    /**
68
     * @return imageFileName
69
     */
70
    public function getImageFileName()
71
    {
72
        return $this->imageFileName;
73
    }
74
75
    /**
76
     * @param $imageFileName
77
     * @return self
78
     */
79 3
    public function setImageFileName($imageFileName)
80
    {
81 3
        $this->imageFileName = $imageFileName;
82 3
        return $this;
83
    }
84
85
    /**
86
     * @return descriptionHtml
87
     */
88
    public function getDescriptionHtml()
89
    {
90
        return $this->descriptionHtml;
91
    }
92
93
    /**
94
     * @param $descriptionHtml
95
     * @return self
96
     */
97 3
    public function setDescriptionHtml($descriptionHtml)
98
    {
99 3
        $this->descriptionHtml = $descriptionHtml;
100 3
        return $this;
101
    }
102
}
103