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

Use same Shared Event Manager across the board#1971

Closed
Mezzle wants to merge 2 commits into
zendframework:masterfrom
protecinnovations:feature/all-same-sharedeventmanager
Closed

Use same Shared Event Manager across the board#1971
Mezzle wants to merge 2 commits into
zendframework:masterfrom
protecinnovations:feature/all-same-sharedeventmanager

Conversation

@Mezzle

@Mezzle Mezzle commented Jul 24, 2012

Copy link
Copy Markdown

Make sure that at all points where the SharedEventManager is
being initialised, it is using the same method.

This change makes it so that when calling

$serviceManager->get('SharedEventManager');

It will initialise in the same manner as if we were to call

$eventManager->getSharedManager();

Without having first set the Shared Manager in the Event Manager

Make sure that at all points where the SharedEventManager is
being initialised, it is using the same method.

This change makes it so that when calling
```php
$serviceManager->get('SharedEventManager');
```

It will initialise in the same manner as if we were to call

```php
$eventManager->getSharedManager();
```

Without having first set the Shared Manager in the Event Manager

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You must care about the references for this field along the code of the class

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Ah sorry - thought it was extending something :)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Updated PR

@travisbot

Copy link
Copy Markdown

This pull request fails (merged f1f20db into 91d06d8).

@travisbot

Copy link
Copy Markdown

This pull request fails (merged 46c6f75 into 91d06d8).

@Mezzle Mezzle closed this Jul 24, 2012
@Mezzle

Mezzle commented Jul 24, 2012

Copy link
Copy Markdown
Author

Not exactly sure why tests are weird on this - going to re-branch

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants