public static function setEnvironment($value) { if (self::$environment == self::DEFAULT_ENV) { self::$environment = $value; } }