mirror of
https://github.com/yiisoft/app.git
synced 2026-03-03 06:44:04 +01:00
54 lines
1.2 KiB
PHP
54 lines
1.2 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
'config-plugin' => [
|
|
'params' => 'common/params.php',
|
|
'params-web' => [
|
|
'$params',
|
|
'web/params.php',
|
|
],
|
|
'params-console' => [
|
|
'$params',
|
|
'console/params.php',
|
|
],
|
|
'di' => 'common/di/*.php',
|
|
'di-web' => [
|
|
'$di',
|
|
'web/di/*.php',
|
|
],
|
|
'di-console' => '$di',
|
|
'events' => [],
|
|
'events-web' => [
|
|
'$events',
|
|
'web/events.php',
|
|
],
|
|
'events-console' => '$events',
|
|
'routes' => 'common/routes.php',
|
|
'bootstrap' => [],
|
|
'bootstrap-web' => '$bootstrap',
|
|
'bootstrap-console' => '$bootstrap',
|
|
],
|
|
'config-plugin-environments' => [
|
|
'dev' => [
|
|
'params' => [
|
|
'environments/dev/params.php',
|
|
],
|
|
],
|
|
'prod' => [
|
|
'params' => [
|
|
'environments/prod/params.php',
|
|
],
|
|
],
|
|
'test' => [
|
|
'params' => [
|
|
'environments/test/params.php',
|
|
],
|
|
],
|
|
],
|
|
'config-plugin-options' => [
|
|
'source-directory' => 'config',
|
|
],
|
|
];
|