35 lines
870 B
PHP
35 lines
870 B
PHP
<?php
|
|
|
|
use Lean\Console\Lib\DatabaseMigrations;
|
|
|
|
return [
|
|
'lean.console' => [
|
|
'picea' => [
|
|
'view' => [
|
|
[
|
|
'path' => getenv("PROJECT_PATH") . "/vendor/mcnd/lean-console/view/",
|
|
'order' => 99,
|
|
],
|
|
],
|
|
],
|
|
|
|
'ulmus' => [],
|
|
|
|
'tell' => [
|
|
'json' => [
|
|
[
|
|
'path' => getenv("PROJECT_PATH") . "/vendor/mcnd/lean-console/meta/i18n",
|
|
'order' => 99,
|
|
],
|
|
]
|
|
],
|
|
|
|
'routes' => [
|
|
'Lean\\Console\\Controller' => getenv("PROJECT_PATH") . "/vendor/mcnd/lean-console/src/Controller/",
|
|
],
|
|
],
|
|
|
|
DatabaseMigrations::class => function($c) {
|
|
return new DatabaseMigrations( $c->get(Lean\Lean::class)->getEntities() );
|
|
},
|
|
]; |