We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c6aedb commit 975315bCopy full SHA for 975315b
helpers/BooleanEnum.php
@@ -1,19 +1,18 @@
1
<?php
2
-namespace yii2mod\enum\helpers;
3
-
4
+namespace yii2mod\enum\helpers;
5
6
/**
7
- * @author Kravchuk Dmitry
8
- * @package yii2mod\cms\models\enumerables
+ * Class BooleanEnum
+ * @package yii2mod\enum\helpers
9
*/
10
class BooleanEnum extends BaseEnum
11
{
12
const YES = 1;
13
const NO = 0;
14
15
public static $list = [
16
- self::NO => 'No',
17
- self::YES => 'Yes'
+ self::YES => 'Yes',
+ self::NO => 'No'
18
];
19
-}
+}
0 commit comments