Total Complexity | 6 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
4 | class UToken { |
||
5 | |||
6 | /** |
||
7 | * |
||
8 | * @var string |
||
9 | */ |
||
10 | private $id; |
||
11 | |||
12 | /** |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | private $value; |
||
17 | |||
18 | public function __construct($id = null, $value = null) { |
||
19 | $this->id = $id; |
||
20 | $this->value = $value; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * |
||
25 | * @return string |
||
26 | */ |
||
27 | public function getId() { |
||
28 | return $this->id; |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * |
||
33 | * @return string |
||
34 | */ |
||
35 | public function getValue() { |
||
36 | return $this->value; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * |
||
41 | * @param string $id |
||
42 | */ |
||
43 | public function setId($id) { |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * |
||
49 | * @param string $value |
||
50 | */ |
||
51 | public function setValue($value) { |
||
52 | $this->value = $value; |
||
53 | } |
||
54 | |||
55 | public function __toString() { |
||
57 | } |
||
58 | } |
||
59 | |||
60 |