Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

enhancement of ProvidesEvents trait #4864

Merged
merged 1 commit into from Jul 22, 2013

Conversation

Projects
None yet
1 participant
@ghost

ghost commented Jul 21, 2013

using this trait as it is forces to override the method setEventManager if one wants to attach some default listeners to the event manager instance. thus i propose the change that the trait looks for a method named attachDefaultListeners and calls it if existing.

@weierophinney weierophinney added a commit that referenced this pull request Jul 22, 2013

@weierophinney weierophinney Merge pull request #4864 from sarge-ch/event-trait-enhancement
enhancement of ProvidesEvents trait
bb419f7

@weierophinney weierophinney merged commit a29fae3 into zendframework:develop Jul 22, 2013

1 check passed

default The Travis CI build passed
Details

@ghost ghost assigned weierophinney Jul 22, 2013

@ghost ghost deleted the unknown repository branch Jul 22, 2013

@weierophinney weierophinney added a commit to zendframework/zend-eventmanager that referenced this pull request May 15, 2015

@weierophinney weierophinney Merge pull request zendframework/zendframework#4864 from sarge-ch/eve…
…nt-trait-enhancement

enhancement of ProvidesEvents trait
2be4512

@weierophinney weierophinney added a commit to zendframework/zend-eventmanager that referenced this pull request May 15, 2015

@weierophinney weierophinney Merge branch 'feature/4864' into develop 4c23096
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment