Key::getId()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/**
4
 * @Author Chiarillo Massimo
5
 */
6
7
namespace Yandex\TranslatorBundle\Model;
8
9
class Key
10
{
11
    protected $id;
12
13
    protected $value;
14
15
    protected $requests;
16
17
    protected $enabled = false;
18
19
    /**
20
     * @return mixed
21
     */
22
    public function getId()
23
    {
24
        return $this->id;
25
    }
26
27
    /**
28
     * @param  mixed $id
29
     * @return $this
30
     */
31
    public function setId($id)
32
    {
33
        $this->id = $id;
34
        return $this;
35
    }
36
37
    /**
38
     * @return mixed
39
     */
40
    public function getValue()
41
    {
42
        return $this->value;
43
    }
44
45
    /**
46
     * @param  mixed $value
47
     * @return $this
48
     */
49
    public function setValue($value)
50
    {
51
        $this->value = $value;
52
        return $this;
53
    }
54
    
55
    public function isEnabled()
56
    {
57
        return $this->enabled;
58
    }
59
60
    public function setEnabled($enabled)
61
    {
62
        $this->enabled = $enabled;
63
64
        return $this;
65
    }
66
}
67