Case, add quotes

This commit is contained in:
Jon 2014-09-15 23:15:28 +01:00
parent cb57ca714e
commit 3dbaa4e880

View file

@ -10,9 +10,9 @@ I will use [FastRoute](https://github.com/nikic/FastRoute) in this tutorial. But
Alternative packages: [symfony/Routing](https://github.com/symfony/Routing), [Aura.Router](https://github.com/auraphp/Aura.Router), [fuelphp/routing](https://github.com/fuelphp/routing), [Klein](https://github.com/chriso/klein.php)
By now you know how to install composer packages, so I will leave that to you.
By now you know how to install Composer packages, so I will leave that to you.
Now add this code block to your `Bootstrap.php` file where you added the hello world message in the last part.
Now add this code block to your `Bootstrap.php` file where you added the 'hello world' message in the last part.
```
$dispatcher = \FastRoute\simpleDispatcher(function (\FastRoute\RouteCollector $r) {
@ -76,4 +76,4 @@ $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.
[<< previous](4-http.md) | [next >>](6-controllers.md)
[<< previous](4-http.md) | [next >>](6-controllers.md)