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

fix performance issues using sm3 configure() #77

Merged
merged 2 commits into from
Jun 7, 2016

Conversation

pine3ree
Copy link
Contributor

using v3 configure method if available and adding all services/factories/aliases... in one go.

fixes the performance issues i reported earlier:
zendframework/zend-servicemanager#122
zendframework/zend-expressive-zendviewrenderer#25
#76

using v3 configure method if available and adding all services/factories/aliases... in one go.

fixes the performance issues i reported earlier:
zendframework/zend-servicemanager#122
zendframework/zend-expressive-zendviewrenderer#25
zendframework#76
$serviceManager->setAlias($alias, $target);
if (method_exists($serviceManager, 'configure')) {
$serviceManager->configure($config);
} else {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use an early return here, please

@pine3ree
Copy link
Contributor Author

pine3ree commented Jun 6, 2016

@Ocramius
done! same for zend-i18n.
kind regards

@weierophinney weierophinney modified the milestones: 2.8.4, 2.9.0 Jun 7, 2016
@weierophinney weierophinney self-assigned this Jun 7, 2016
@weierophinney weierophinney merged commit 9e57490 into zendframework:master Jun 7, 2016
weierophinney added a commit that referenced this pull request Jun 7, 2016
fix performance issues using sm3 configure()
weierophinney added a commit that referenced this pull request Jun 7, 2016
weierophinney added a commit that referenced this pull request Jun 7, 2016
weierophinney added a commit that referenced this pull request Jun 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants