Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

code concistency : update Zend\Mvc\Application::bootstrap #4432

Closed
wants to merge 1 commit into from

3 participants

@samsonasik

if $serviceManager = $this->serviceManager; so assign $events should use $events = $this->events;

@danizord

Why we don't use $this->serviceManager and $this->eventManager directly?

@samsonasik

@Danizord i think the code will look to long if call them directly, cmiiw

@weierophinney weierophinney referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/4432' into develop
Forward port #4432
2a10508
@weierophinney weierophinney was assigned
@ghost Unknown referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/4432'
Close #4432
f3c796f
@ghost Unknown referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/4432' into develop
Forward port #4432
6b0edee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 6, 2013
  1. @samsonasik
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  library/Zend/Mvc/Application.php
View
2  library/Zend/Mvc/Application.php
@@ -136,7 +136,7 @@ public function getConfig()
public function bootstrap(array $listeners = array())
{
$serviceManager = $this->serviceManager;
- $events = $this->getEventManager();
+ $events = $this->events;
$listeners = array_unique(array_merge($this->defaultListeners, $listeners));
Something went wrong with that request. Please try again.