質問編集履歴
1
定数に間違いがあったので編集しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -14,17 +14,21 @@
|
|
14
14
|
|
15
15
|
class ChargeType {
|
16
16
|
|
17
|
-
const STATUS_
|
17
|
+
const STATUS_HOGE = '0';
|
18
18
|
|
19
|
-
const STATUS_
|
19
|
+
const STATUS_HOGE_NAME = 'ほげ';
|
20
|
+
|
21
|
+
const STATUS_FUGA = '1';
|
22
|
+
|
23
|
+
const STATUS_FUGA_NAME = 'ふが';
|
20
24
|
|
21
25
|
|
22
26
|
|
23
27
|
const STATUS_LIST = [
|
24
28
|
|
25
|
-
self::STATUS_
|
29
|
+
self::STATUS_HOGE => STATUS_HOGE_NAME
|
26
30
|
|
27
|
-
self::STATUS_
|
31
|
+
self::STATUS_FUGA => STATUS_FUGA_NAME
|
28
32
|
|
29
33
|
]
|
30
34
|
|