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

Commit

Permalink
Update modular-layout.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bakura10 committed Jan 27, 2016
1 parent feeddec commit 4fb629f
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 4fb629f

Please sign in to comment.