Passed
Pull Request — master (#5)
by Joao
01:44
created

DummyHex::getId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace RestTemplate\Model;
4
5
/**
6
 * Model that represents the DummyHex table
7
 *
8
 * @SWG\Definition(required={"field"}, type="object", @SWG\Xml(name="DummyHex"))
9
 */
10
class DummyHex
11
{
12
    /**
13
     * The "fake" key
14
     * @SWG\Property()
15
     * @var string
16
     */
17
    protected $id;
18
19
    /**
20
     * The UUID
21
     * @SWG\Property()
22
     * @var string
23
     */
24
    protected $uuid;
25
26
    /**
27
     * Some field property
28
     * @SWG\Property()
29
     * @var string
30
     */
31
    protected $field;
32
33
    /**
34
     * @return mixed
35
     */
36
    public function getId()
37
    {
38
        return $this->id;
39
    }
40
41
    /**
42
     * @param mixed $value
43
     */
44
    public function setId($value)
45
    {
46
        $this->id = $value;
47
    }
48
49
    /**
50
     * @return string
51
     */
52
    public function getUuid()
53
    {
54
        return $this->uuid;
55
    }
56
57
    /**
58
     * @param string $uuid
59
     */
60
    public function setUuid(string $uuid)
61
    {
62
        $this->uuid = $uuid;
63
    }
64
65
66
    /**
67
     * @return mixed
68
     */
69
    public function getField()
70
    {
71
        return $this->field;
72
    }
73
74
    /**
75
     * @param mixed $field
76
     */
77
    public function setField($field)
78
    {
79
        $this->field = $field;
80
    }
81
}
82