cakephp/cakephp — pull request #3601 by rhelms (2014-05-30 01:04:37+00:00)
Title: Refactor _eventManager accessors to Cake\Event\EventManagerTrait

Addresses issue #3592
Use a single method to set and get EventManager.
Always returns an EventManager, if none was previously set.
Cake\Utility\ObjectRegistry is aware of an optional EventManager.
Each class extending ObjectRegistry will need to use the trait.