From b1add840723810cb594a02bdac3387fe69c113f1 Mon Sep 17 00:00:00 2001 From: burki94 Date: Mon, 6 Apr 2015 13:12:37 +0200 Subject: [PATCH 1/2] Update 08-dependency-injector.md Auryn\Provider was replaced with Auryn\Injector --- 08-dependency-injector.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/08-dependency-injector.md b/08-dependency-injector.md index ffd2a61..d2dd08e 100644 --- a/08-dependency-injector.md +++ b/08-dependency-injector.md @@ -11,7 +11,7 @@ Install the Auryn package and then create a new file called `Dependencies.php` i ```php alias('Http\Response', 'Http\HttpResponse'); $injector->share('Http\HttpRequest'); @@ -94,4 +94,4 @@ As you can see now the class has two dependencies. Try to access the page with a Congratulations, you have now successfully laid the groundwork for your application. -[<< previous](07-inversion-of-control.md) | [next >>](09-templating.md) \ No newline at end of file +[<< previous](07-inversion-of-control.md) | [next >>](09-templating.md) From f2c5137ae1464f55bd5ba9fe0d188e57abd4d71d Mon Sep 17 00:00:00 2001 From: Kevin M Granger Date: Thu, 23 Jul 2015 15:09:52 -0700 Subject: [PATCH 2/2] Fix typo in 05-router.md Routers.php -> Routes.php --- 05-router.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/05-router.md b/05-router.md index a381107..d635a58 100644 --- a/05-router.md +++ b/05-router.md @@ -74,6 +74,6 @@ $routeDefinitionCallback = function (\FastRoute\RouteCollector $r) { $dispatcher = \FastRoute\simpleDispatcher($routeDefinitionCallback); ``` -This is already an improvement, but now all the handler code is in the `Routers.php` file. This is not optimal, so let's fix that in the next part. +This is already an improvement, but now all the handler code is in the `Routes.php` file. This is not optimal, so let's fix that in the next part. [<< previous](04-http.md) | [next >>](06-dispatching-to-a-class.md)