Completed
Push — erdiko2 ( 719271...84f584 )
by John
05:49
created

Test   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 50
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 6
lcom 0
cbo 0
dl 0
loc 50
rs 10
c 0
b 0
f 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 4 1
A getName() 0 4 1
A setName() 0 4 1
A getDescription() 0 4 1
A setDescription() 0 4 1
1
<?php
2
namespace app\entities;
3
4
/**
5
 * @Entity @Table(name="test")
6
 */
7
class Test
8
{
9
    /**
10
     * @Id @GeneratedValue @Column(type="integer")
11
     * @var integer
12
     */
13
    protected $id;
14
15
    /**
16
     * @Column(type="string")
17
     * @var string
18
     */
19
    protected $name;
20
21
    /**
22
     * @Column(type="string")
23
     * @var string
24
     */
25
    protected $description;
26
27
    public function getId()
28
    {
29
        return $this->id;
30
    }
31
32
    public function setId($id)
33
    {
34
        $this->id = $id;
35
    }
36
37
    public function getName()
38
    {
39
        return $this->name;
40
    }
41
42
    public function setName($name)
43
    {
44
        $this->name = $name;
45
    }
46
47
    public function getDescription()
48
    {
49
        return $this->description;
50
    }
51
52
    public function setDescription($description)
53
    {
54
        $this->description = $description;
55
    }
56
}
57