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

Commit 737ddc1

Browse files
committed
Merge branch 'hotfix/294'
Close #294
2 parents 3adb518 + 4660f68 commit 737ddc1

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ Initial stable release.
4444
- [#293](https://github.com/zendframework/zend-expressive/pull/293) adds
4545
a `require 'vendor/autoload.php';` line to the bootstrap script referenced in
4646
the zend-servicemanager examples.
47+
- [#294](https://github.com/zendframework/zend-expressive/pull/294) updates the
48+
namespace referenced in the modulear-layout documentation to provide a better
49+
separation between the module/package/whatever, and the application consuming
50+
it.
4751

4852
## 1.0.0rc7 - 2016-01-21
4953

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)