Category::getTitle()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * Category
4
 *
5
 * @category  AxalianAchievements\Entity
6
 * @package   AxalianAchievements\Entity
7
 * @author    Michel Maas <[email protected]>
8
 */
9
10
namespace AxalianAchievements\Entity;
11
12
class Category extends AbstractAchievementEntity
13
{
14
    /**
15
     * @var string
16
     */
17
    protected $title;
18
19
    /**
20
     * @var string
21
     */
22
    protected $description;
23
24
    /**
25
     * @var string
26
     */
27
    protected $image;
28
29
    /**
30
     * @return string
31
     */
32
    public function getTitle()
33
    {
34
        return $this->title;
35
    }
36
37
    /**
38
     * @param string $title
39
     * @return self
40
     */
41
    public function setTitle($title)
42
    {
43
        $this->title = $title;
44
45
        return $this;
46
    }
47
48
    /**
49
     * @return string
50
     */
51
    public function getDescription()
52
    {
53
        return $this->description;
54
    }
55
56
    /**
57
     * @param string $description
58
     * @return self
59
     */
60
    public function setDescription($description)
61
    {
62
        $this->description = $description;
63
64
        return $this;
65
    }
66
67
    /**
68
     * @return string
69
     */
70
    public function getImage()
71
    {
72
        return $this->image;
73
    }
74
75
    /**
76
     * @param string $image
77
     * @return self
78
     */
79
    public function setImage($image)
80
    {
81
        $this->image = $image;
82
83
        return $this;
84
    }
85
}
86