Skip to content
This repository has been archived by the owner on May 24, 2018. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/pr/1345' into develop
Browse files Browse the repository at this point in the history
Forward port #1345
  • Loading branch information
weierophinney committed Aug 12, 2014
2 parents 6a901cf + 020f924 commit edfabf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/languages/en/modules/zend.di.definitions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ an application, the following code will suffice:
new Definition\ArrayDefinition(include __DIR__ . '/path/to/data/di/My_OtherClasses-definition.php'),
$runtime = new Definition\RuntimeDefinition(),
));
$di = new Di($definitionList, null, new Configuration($this->config->di));
$di = new Di($definitionList, null, new Config($this->config->di));
$di->instanceManager()->addTypePreference('Zend\Di\LocatorInterface', $di);
$app->setLocator($di);
}
Expand Down

0 comments on commit edfabf9

Please sign in to comment.