We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3ba9a3 commit e9f0bf4Copy full SHA for e9f0bf4
README.md
@@ -88,7 +88,7 @@ You can inject services by type-hinting them:
88
89
```php
90
$app->get('/', function (ResponseInterface $response, Twig $twig) {
91
- return $twig->renderResponse($response, 'home.twig');
+ return $twig->render($response, 'home.twig');
92
});
93
```
94
@@ -153,3 +153,5 @@ $app = new class() extends \DI\Bridge\Slim\App {
153
}
154
};
155
156
+
157
+Have a look at [configuring PHP-DI](http://php-di.org/doc/container-configuration.html) for more details.
0 commit comments