+ ],
+ Cache\ICache::class => [
+ 'instanceOf' => Factory\CacheFactory::class,
+ 'call' => [
+ ['create', [], Dice::CHAIN_CALL],
+ ],
+ ],
+ Cache\IMemoryCache::class => [
+ 'instanceOf' => Factory\CacheFactory::class,
+ 'call' => [
+ ['create', [], Dice::CHAIN_CALL],
+ ],
+ ],
+ ILock::class => [
+ 'instanceOf' => Factory\LockFactory::class,
+ 'call' => [
+ ['create', [], Dice::CHAIN_CALL],
+ ],
+ ],
+ App\Arguments::class => [
+ 'instanceOf' => App\Arguments::class,
+ 'call' => [
+ ['determine', [$_SERVER, $_GET], Dice::CHAIN_CALL],
+ ],
+ ],
+ App\Module::class => [
+ 'instanceOf' => App\Module::class,
+ 'call' => [
+ ['determineModule', [], Dice::CHAIN_CALL],
+ ],
+ ],
+ Process::class => [
+ 'constructParams' => [
+ [Dice::INSTANCE => '$basepath'],
+ ],
+ ],
+ App\Router::class => [
+ 'constructParams' => [
+ $_SERVER, null
+ ],
+ 'call' => [
+ ['loadRoutes', [include __DIR__ . '/routes.config.php'], Dice::CHAIN_CALL],
+ ],
+ ],
+ L10n::class => [
+ 'constructParams' => [
+ $_SERVER, $_GET
+ ],
+ ],
+ ISession::class => [
+ 'instanceOf' => Factory\SessionFactory::class,
+ 'call' => [
+ ['createSession', [$_SERVER], Dice::CHAIN_CALL],
+ ['start', [], Dice::CHAIN_CALL],
+ ],
+ ],
+ Cookie::class => [
+ 'constructParams' => [
+ $_SERVER, $_COOKIE
+ ],
+ ],
+ IStorage::class => [
+ 'instanceOf' => StorageManager::class,
+ 'call' => [
+ ['getBackend', [], Dice::CHAIN_CALL],
+ ],
+ ],