zendframework/zf2 — pull request #719 by marc-mabe (2012-01-10 12:19:57+00:00)
Title: improvements of EventManager::trigger

- don't clone the listeners object before adding static listeners if there are no static listeners
- don't create a callback closure and call for each listener if no callback was provided
- check is_callable if a callback was provided