From 4dc489ea45172b9fbdeaf8467eb0cb160421d622 Mon Sep 17 00:00:00 2001 From: drarko Date: Wed, 10 Dec 2014 16:26:43 -0300 Subject: [PATCH] Bad class in register service AuthorMapper return new AuthorService replaced by return new AuthorMapper --- developer_manual/app/container.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/developer_manual/app/container.rst b/developer_manual/app/container.rst index 0eff3c2a6..940161d8f 100644 --- a/developer_manual/app/container.rst +++ b/developer_manual/app/container.rst @@ -104,7 +104,7 @@ To add the app's classes simply open the :file:`appinfo/application.php` use the * Services */ $container->registerService('AuthorMapper', function($c){ - return new AuthorService( + return new AuthorMapper( $c->query('ServerContainer')->getDb() ); });