app
app copied to clipboard
Rename configs with defintions to `definitions-*`
common
→ definitions
web
→ definitions-web
console
→ definitions-console
This is will be more consistently with events
, bootstrap
, providers
, routes
and etc.
Good thing is that the prefix will be the same so files will appear grouped. Bad thing is that it looks more complicated.
Seems, variant with definitions
more simplify:
definitions/*.php
definitions-web/*.php
definitions-console/*.php
bootstrap.php
bootstrap-web.php
bootstrap-console.php
events.php
events-web
events-console.php
params.php
providers.php
providers-web.php
providers-console.php
routes-backend.php
routes.php
VS
common/*.php
console/*.php
web/*.php
bootstrap.php
bootstrap-web.php
bootstrap-console.php
events.php
events-web.php
events-console.php
params.php
providers.php
providers-web.php
providers-console.php
routes-backend.php
routes.php
Related to https://github.com/yiisoft/demo/pull/345