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

Commit

Permalink
Merge pull request #294 from bakura10/patch-2
Browse files Browse the repository at this point in the history
Update naming modular-layout.md
  • Loading branch information
weierophinney committed Jan 28, 2016
2 parents 3adb518 + 4fb629f commit 26000f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/book/cookbook/modular-layout.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down Expand Up @@ -87,7 +87,7 @@ file:

```php
$configManager = new ConfigManager([
App\AppConfig::class,
MyModule\ModuleConfig::class,
new PhpFileProvider('config/autoload/{{,*.}global,{,*.}local}.php'),
]);
```
Expand Down

0 comments on commit 26000f7

Please sign in to comment.