Merge pull request #17 from HassanAlthaf/patch-2

Update 9-templating.md
This commit is contained in:
Patrick Louys 2014-12-08 12:21:28 +01:00
commit c9215d89d5

View file

@ -24,7 +24,7 @@ First let's define the interface that we want. Remember the [interface segregati
So what does our template engine actually need to do? For now we really just need a simple `render` method. Create a new folder in your `src/` folder with the name `Template` where you can put all the template related things. So what does our template engine actually need to do? For now we really just need a simple `render` method. Create a new folder in your `src/` folder with the name `Template` where you can put all the template related things.
In there create a new interface `Renderable.php` that looks like this: In there create a new interface `Engine.php` that looks like this:
```php ```php
<?php <?php