Category   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 74
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 6
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 74
rs 10

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getTitle() 0 4 1
A setTitle() 0 6 1
A getDescription() 0 4 1
A setDescription() 0 6 1
A getImage() 0 4 1
A setImage() 0 6 1
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