Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 26000f7

Browse files
committed
Merge pull request #294 from bakura10/patch-2
Update naming modular-layout.md
2 parents 3adb518 + 4fb629f commit 26000f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/book/cookbook/modular-layout.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ array.
5353
For instance, this is how your module could provide its own routes:
5454

5555
```php
56-
namespace App;
56+
namespace MyModule;
5757

58-
class AppConfig
58+
class ModuleConfig
5959
{
6060
public function __invoke()
6161
{
@@ -87,7 +87,7 @@ file:
8787

8888
```php
8989
$configManager = new ConfigManager([
90-
App\AppConfig::class,
90+
MyModule\ModuleConfig::class,
9191
new PhpFileProvider('config/autoload/{{,*.}global,{,*.}local}.php'),
9292
]);
9393
```

0 commit comments

Comments
 (0)