1 | <?php |
||
11 | class Setting |
||
12 | { |
||
13 | /** |
||
14 | * @ORM\Id |
||
15 | * @ORM\GeneratedValue |
||
16 | * @ORM\Column(type="integer") |
||
17 | */ |
||
18 | private $id; |
||
19 | |||
20 | /** |
||
21 | * @ORM\Column(type="string") |
||
22 | */ |
||
23 | private $title = ''; |
||
24 | |||
25 | /** |
||
26 | * @ORM\Column(type="string") |
||
27 | */ |
||
28 | private $code = ''; |
||
29 | |||
30 | /** |
||
31 | * @ORM\Column(type="string") |
||
32 | */ |
||
33 | private $api = ''; |
||
34 | |||
35 | /** |
||
36 | * @ORM\Column(type="string") |
||
37 | */ |
||
38 | private $userSuffix = ''; |
||
39 | |||
40 | /** |
||
41 | * @ORM\Column(type="string") |
||
42 | */ |
||
43 | private $guildSuffix = ''; |
||
44 | |||
45 | /** |
||
46 | * @ORM\Column(type="string") |
||
47 | */ |
||
48 | private $unitSuffix = ''; |
||
|
|||
49 | |||
50 | /** |
||
51 | * Get id. |
||
52 | * |
||
53 | * @return int |
||
54 | */ |
||
55 | public function getId() |
||
59 | |||
60 | /** |
||
61 | * Set title. |
||
62 | * |
||
63 | * @param string $title |
||
64 | * |
||
65 | * @return Setting |
||
66 | */ |
||
67 | public function setTitle($title) |
||
73 | |||
74 | /** |
||
75 | * Get title. |
||
76 | * |
||
77 | * @return string |
||
78 | */ |
||
79 | public function getTitle() |
||
83 | |||
84 | /** |
||
85 | * Set api. |
||
86 | * |
||
87 | * @param string $api |
||
88 | * |
||
89 | * @return Setting |
||
90 | */ |
||
91 | public function setApi($api) |
||
97 | |||
98 | /** |
||
99 | * Get api. |
||
100 | * |
||
101 | * @return string |
||
102 | */ |
||
103 | public function getApi() |
||
107 | |||
108 | /** |
||
109 | * Set userSuffix. |
||
110 | * |
||
111 | * @param string $userSuffix |
||
112 | * |
||
113 | * @return Setting |
||
114 | */ |
||
115 | public function setUserSuffix($userSuffix) |
||
121 | |||
122 | /** |
||
123 | * Get userSuffix. |
||
124 | * |
||
125 | * @return string |
||
126 | */ |
||
127 | public function getUserSuffix() |
||
131 | |||
132 | /** |
||
133 | * Set guildSuffix. |
||
134 | * |
||
135 | * @param string $guildSuffix |
||
136 | * |
||
137 | * @return Setting |
||
138 | */ |
||
139 | public function setGuildSuffix($guildSuffix) |
||
145 | |||
146 | /** |
||
147 | * Get guildSuffix. |
||
148 | * |
||
149 | * @return string |
||
150 | */ |
||
151 | public function getGuildSuffix() |
||
155 | |||
156 | /** |
||
157 | * Set code. |
||
158 | * |
||
159 | * @param string $code |
||
160 | * |
||
161 | * @return Setting |
||
162 | */ |
||
163 | public function setCode($code) |
||
169 | |||
170 | /** |
||
171 | * Get code. |
||
172 | * |
||
173 | * @return string |
||
174 | */ |
||
175 | public function getCode() |
||
179 | } |
||
180 |
This check marks private properties in classes that are never used. Those properties can be removed.