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

Commit

Permalink
Merge branch 'docs/61'
Browse files Browse the repository at this point in the history
Close #61
  • Loading branch information
michalbundyra committed Nov 1, 2019
2 parents e0d3986 + d9e33db commit a50dfe5
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docs/book/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,21 +111,22 @@ workflow, you will need:

* A configuration provider class. This is a class with no constructor
arguments defining an `__invoke()` method returning a configuration array.
* An `extra.zf.config-provider` entry listing the configuration provider class
in your `composer.json`.

```php
namespace Some\Component;

class ConfigProvider
{
public function __invoke()
{
return [ /* ... */ ];
}
public function __invoke()
{
return [ /* ... */ ];
}
}
```

* An `extra.zf.config-provider` entry listing the configuration provider class
in your `composer.json`.

```json
"extra": {
"zf": {
Expand Down

0 comments on commit a50dfe5

Please sign in to comment.