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

Move EventFeature constants into separate interface #41

Merged

Conversation

weierophinney
Copy link
Member

This patch moves the EventFeature event constants into a separate interface, removing the need to add a hard dependency on zend-eventmanager to the component. EventFeature now implements the interface, ensuring that references to the constants will continue to work, while AbstractTableGateway now uses the interface constants instead (ensuring that the zend-eventmanager dependency is not raised during usage).

Resolves #25 without requiring a new dependency.

This patch moves the EventFeature event constants into a separate interface,
removing the need to add a hard dependency on zend-eventmanager to the
component. `EventFeature` now implements the interface, ensuring that references
to the constants will continue to work, while `AbstractTableGateway` now uses
the interface constants instead (ensuring that the zend-eventmanager dependency
is not raised during usage).
- to prevent maintenance confusion later.
@akrabat akrabat merged commit 0523112 into zendframework:master Sep 22, 2015
akrabat added a commit that referenced this pull request Sep 22, 2015
Move EventFeature constants into separate interface
akrabat added a commit that referenced this pull request Sep 22, 2015
akrabat added a commit that referenced this pull request Sep 22, 2015
akrabat added a commit that referenced this pull request Sep 22, 2015
@weierophinney weierophinney deleted the hotfix/event-feature-constants branch September 22, 2015 18:36
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.

2 participants