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 161697b commit 715fddeCopy full SHA for 715fdde
src/Environment.php
@@ -33,17 +33,17 @@ public static function environment(): string
33
return self::$values['YII_ENV'];
34
}
35
36
- public static function isDevelopment(): bool
+ public static function isDev(): bool
37
{
38
return self::environment() === self::DEV;
39
40
41
- public static function isTesting(): bool
+ public static function isTest(): bool
42
43
return self::environment() === self::TEST;
44
45
46
- public static function isProduction(): bool
+ public static function isProd(): bool
47
48
return self::environment() === self::PROD;
49
0 commit comments