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

Test::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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