fn (ResponseFactory $rf) => $rf->createResponse(), ServerRequestInterface::class => fn (RequestFactory $rf) => $rf->fromGlobals(), Now::class => fn (SystemClockNow $n) => $n, Renderer::class => fn (Mustache_Engine $e) => new MustacheRenderer($e), MLF::class => fn (Settings $s) => new MLF($s->templateDir, ['extension' => $s->templateExtension]), ME::class => fn (MLF $mfl) => new ME(['loader' => $mfl]), ResponseFactoryInterface::class => fn (ResponseFactory $rf) => $rf, Emitter::class => fn (BasicEmitter $e) => $e, RoutedRequestHandler::class => fn (InvokerRoutedHandler $h) => $h, MiddlewareInterface::class => fn (RouteMiddleware $r) => $r, Dispatcher::class => fn () => simpleDispatcher(require __DIR__ . '/routes.php'), RequestFactory::class => fn (DiactorosRequestFactory $rf) => $rf, Pipeline::class => fn (PipelineProvider $p) => $p->getPipeline(), CacheInterface::class => fn (FilesystemAdapter $a) => $a, MarkdownPageFilesystem::class => fn (Settings $s) => new MarkdownPageFilesystem($s->pagesPath), CachedMarkdownPageRepo::class => fn (CacheInterface $c, MarkdownPageFilesystem $r) => new CachedMarkdownPageRepo($c, $r), MarkdownPageRepo::class => fn (MarkdownPageFilesystem $r) => $r, ];