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 #61 from michalbundyra/hotfix/code-snippets
Browse files Browse the repository at this point in the history
Fixed code snippets
  • Loading branch information
michalbundyra committed Nov 1, 2019
2 parents e0d3986 + 51e2213 commit d9e33db
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 d9e33db

Please sign in to comment.