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

Update naming modular-layout.md #294

Merged
merged 1 commit into from
Jan 28, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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