Config\Cache::class => [
'instanceOf' => Factory\ConfigFactory::class,
'call' => [
- ['createCache', [], Dice::CHAIN_CALL],
+ ['createCache', [$_SERVER], Dice::CHAIN_CALL],
],
],
App\Mode::class => [
Database::class => [
'constructParams' => [
[Dice::INSTANCE => \Psr\Log\NullLogger::class],
- $_SERVER,
],
],
/**
Process::class => [
'constructParams' => [
[Dice::INSTANCE => '$basepath'],
+ getmypid(),
],
],
App\Router::class => [
'constructParams' => [
- $_SERVER, null
- ],
- 'call' => [
- ['loadRoutes', [include __DIR__ . '/routes.config.php'], Dice::CHAIN_CALL],
+ $_SERVER,
+ __DIR__ . '/routes.config.php',
+ null
],
],
L10n::class => [