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

Commit

Permalink
Merge branch 'hotfix/59' into develop
Browse files Browse the repository at this point in the history
Forward port #59
  • Loading branch information
weierophinney committed Jan 18, 2016
2 parents 794d538 + bf3e1d4 commit ade4470
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ Sixth release candidate.
- [#52](https://github.com/zendframework/zend-expressive-skeleton/pull/52)
fixes the switch statement in the `HomePageAction` class to ensure the
template name and documentation link are accurately found.
- [#59](https://github.com/zendframework/zend-expressive-skeleton/pull/59)
updates the `config/container.php` implementation for zend-servicemanager such
that it can work with either v2 or v3 of that library.

## 1.0.0rc5 - 2015-12-22

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
$config = require __DIR__ . '/config.php';

// Build container
$container = new ServiceManager(new Config($config['dependencies']));
$container = new ServiceManager();
(new Config($config['dependencies']))->configureServiceManager($container);

// Inject config
$container->setService('config', $config);
Expand Down

0 comments on commit ade4470

Please sign in to comment.