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() ); });