yiisoft / config

Configuration management
https://www.yiiframework.com/
BSD 3-Clause "New" or "Revised" License
31 stars 11 forks source link

Rename default environment (local, dev, etc) #85

Closed rustamwin closed 2 years ago

rustamwin commented 2 years ago

I think it's better to rename https://github.com/yiisoft/config/blob/master/src/Options.php#L20 to something like local, dev, etc.

vjik commented 2 years ago

In application we can name environments as you like

devanych commented 2 years ago

Naming environments is the responsibility of the application. In this context, DEFAULT_ENVIRONMENT means that the configuration has no environment.