From 0b1fa54d49fecb8d34e3c3c1fdb217537d1b5d65 Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 23 May 2022 08:43:33 +0200 Subject: [PATCH] fix type in DI chapter --- 09-dependency-injector.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/09-dependency-injector.md b/09-dependency-injector.md index 01ff14f..14652ff 100644 --- a/09-dependency-injector.md +++ b/09-dependency-injector.md @@ -212,7 +212,7 @@ PHP provides us with the great Reflection Api that is capable of showing us, [wh given class requires](https://www.php.net/manual/de/reflectionclass.getconstructor.php]. We could implement that functionality ourselves, or just try to use a library that takes care of that for us. -You can query the composer database to find all [libraries that implment the container interface](https://packagist.org/providers/psr/container-implementation). +You can query the composer database to find all [libraries that implement the container interface](https://packagist.org/providers/psr/container-implementation). I choose the [PHP-DI](https://packagist.org/packages/php-di/php-di) container, as it is easy to configure and provides some very [powerfull features](https://php-di.org/#autowiring) out of the box, and also solves the auto wiring problem. @@ -223,7 +223,6 @@ automatically build. ```php addDefinitions([