zendframework/zf2 — pull request #4864 by sarge-ch (2013-07-21 11:28:01+00:00)
Title: enhancement of ProvidesEvents trait

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.