From 2daa876cf2fc61734f1f923f90218c8f57ee9755 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 7 May 2014 20:01:09 +0200 Subject: [PATCH] fix typos --- developer_manual/app/container.rst | 4 ++-- developer_manual/app/schema.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/developer_manual/app/container.rst b/developer_manual/app/container.rst index 506b749f2..ccc4c576a 100644 --- a/developer_manual/app/container.rst +++ b/developer_manual/app/container.rst @@ -3,7 +3,7 @@ Container .. sectionauthor:: Bernhard Posselt -The App Framework assembles the application by using an Inversion of Control container which does :doc:`../general/dependencyinjection`. Dependency Injection helps you to create testable and maintainable code. For a very simple and good Tutorial, watch the `Dependency Injection and the art of Services and Containers Tutorial on YouTube `_. A broader overview over how it works and what the benefits are can be seen on `Google's Clean Code Talks `_. +The App Framework assembles the application by using an Inversion of Control container which does :doc:`../general/dependencyinjection`. Dependency Injection helps you to create testable and maintainable code. For a very simple and good tutorial, watch the `Dependency Injection and the art of Services and Containers Tutorial on YouTube `_. A broader overview over how it works and what the benefits are can be seen on `Google's Clean Code Talks `_. The container is configured in :file:`appinfo/application.php`. @@ -37,7 +37,7 @@ To add your own classes simply open the :file:`appinfo/application.php` and add */ $container->registerService('PageController', function($c){ return new PageController( - $c->query('AppName'), + $c->query('AppName'), $c->query('ServerContainer')->getRequest() ); }); diff --git a/developer_manual/app/schema.rst b/developer_manual/app/schema.rst index eea8377ee..185f2eaaf 100644 --- a/developer_manual/app/schema.rst +++ b/developer_manual/app/schema.rst @@ -11,7 +11,7 @@ An example database XML file would look like this: .. code-block:: xml - + *dbname* true