[ 'picea' => [ 'context' => \Lean\View::class, 'view' => [ [ 'path' => getenv("VIEW_PATH"), 'order' => 10, ], [ 'path' => implode(DIRECTORY_SEPARATOR, [ $dir, "view", '' ]), 'order' => 1000, ], ], 'asset' => [ [ 'path' => implode(DIRECTORY_SEPARATOR, [ getenv("PROJECT_PATH"), "asset", '' ]), 'order' => 10 ] ], 'extensions' => [], ], 'ulmus' => [], 'tell' => [ 'json' => [ [ 'path' => getenv("META_PATH") . "/i18n", 'order' => 10, ], [ 'path' => getenv("PROJECT_PATH") . "/vendor/mcnd/lean/meta/i18n", 'order' => 99, ], ], 'php' => [ [ 'path' => getenv("CACHE_PATH")."/i18n", 'order' => 0, ] ] ], 'routes' => [], 'cronard' => [], ], 'lean.autoload' => add([ Lean::class, ]), \Lean\Factory\HttpFactoryInterface::class => autowire(\Lean\Factory\HttpFactory::class), Lean::class => autowire(Lean::class), JavascriptMiddleware::class => create(JavascriptMiddleware::class), 'git.commit' => function($c) { if ( getenv("DEBUG") ) { return uniqid("debug_"); } return \Lean\Git::getLatestCommit(getenv("PROJECT_PATH")); }, Kash\CacheInvalidator::class => create(Kash\CacheInvalidator::class)->constructor(getenv('CACHE_PATH')."/version.cache", (bool) getenv('DEBUG')), ];