+ Process::class => [
+ 'constructParams' => [
+ [Dice::INSTANCE => '$basepath'],
+ getmypid(),
+ ],
+ ],
+ App\Router::class => [
+ 'constructParams' => [
+ $_SERVER,
+ __DIR__ . '/routes.config.php',
+ null
+ ],
+ ],
+ 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],
+ ],
+ ],
+ Network\IHTTPRequest::class => [
+ 'instanceOf' => Network\HTTPRequest::class,
+ ],
+ Factory\Api\Mastodon\Error::class => [
+ 'constructParams' => [
+ $_SERVER
+ ],
+ ],