From 4fb629fff1f7e2866269afd445d71f4f6ab6176c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Gallego?= Date: Wed, 27 Jan 2016 23:10:19 +0100 Subject: [PATCH] Update modular-layout.md --- doc/book/cookbook/modular-layout.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/book/cookbook/modular-layout.md b/doc/book/cookbook/modular-layout.md index 12f2301e..63ad6cb3 100644 --- a/doc/book/cookbook/modular-layout.md +++ b/doc/book/cookbook/modular-layout.md @@ -53,9 +53,9 @@ array. For instance, this is how your module could provide its own routes: ```php -namespace App; +namespace MyModule; -class AppConfig +class ModuleConfig { public function __invoke() { @@ -87,7 +87,7 @@ file: ```php $configManager = new ConfigManager([ - App\AppConfig::class, + MyModule\ModuleConfig::class, new PhpFileProvider('config/autoload/{{,*.}global,{,*.}local}.php'), ]); ```