symfony/symfony-docs — pull request #2301 by dbu (2013-03-12 17:00:40+00:00)
Title: [cookbook] add description of doctrine event subscriber

this confused me quite a bit, so i thought i better document it: the doctrine event subscriber is simpler than the symfony event subscriber. if you return from doctrine an array mapping event names to method names, doctrine will register for "events" with the names of those methods.