Environment class for Yii 2, used to set configuration for console and web apps depending on the server environment.