Total Complexity | 8 |
Total Lines | 97 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class PlayerChart |
||
6 | { |
||
7 | private $idPlayer; |
||
8 | private $idChart; |
||
9 | private $idPlatform = null; |
||
10 | private $values = array(); |
||
11 | |||
12 | |||
13 | /** |
||
14 | * Set idPlayer |
||
15 | * |
||
16 | * @param integer $idPlayer |
||
17 | * @return $this |
||
18 | */ |
||
19 | public function setIdPlayer($idPlayer) |
||
20 | { |
||
21 | $this->idPlayer = $idPlayer; |
||
22 | return $this; |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * Get idPlayer |
||
27 | * |
||
28 | * @return integer |
||
29 | */ |
||
30 | public function getIdPlayer() |
||
31 | { |
||
32 | return $this->idPlayer; |
||
33 | } |
||
34 | |||
35 | |||
36 | /** |
||
37 | * Set idChart |
||
38 | * |
||
39 | * @param integer $idChart |
||
40 | * @return $this |
||
41 | */ |
||
42 | public function setIdChart($idChart) |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * Get idChart |
||
50 | * |
||
51 | * @return integer |
||
52 | */ |
||
53 | public function getIdChart() |
||
54 | { |
||
55 | return $this->idChart; |
||
56 | } |
||
57 | |||
58 | |||
59 | /** |
||
60 | * Set idPlatform |
||
61 | * |
||
62 | * @param integer $idPlatform |
||
63 | * @return $this |
||
64 | */ |
||
65 | public function setIdPlatform($idPlatform) |
||
66 | { |
||
67 | $this->idPlatform = $idPlatform; |
||
68 | return $this; |
||
69 | } |
||
70 | |||
71 | /** |
||
72 | * Get idPlatform |
||
73 | * |
||
74 | * @return integer |
||
75 | */ |
||
76 | public function getIdPlatform() |
||
79 | } |
||
80 | |||
81 | |||
82 | /** |
||
83 | * Set values |
||
84 | * |
||
85 | * @param array $values |
||
86 | * @return $this |
||
87 | */ |
||
88 | public function setValues($values) |
||
89 | { |
||
90 | $this->values = $values; |
||
91 | return $this; |
||
92 | } |
||
93 | |||
94 | /** |
||
95 | * Get values |
||
96 | * |
||
97 | * @return array |
||
98 | */ |
||
99 | public function getValues() |
||
102 | } |
||
103 | } |
||
104 |