4 Commits (9869e82df7dfed57cce6098b0df87ebb0188c062)

Author SHA1 Message Date
Grégoire Pineau f4e9dd4fb8 Fixed PSR rules 12 years ago
Jordi Boggiano d3cec0399a CS fixes & do not replace the exception since that removes the stack trace 12 years ago
Andrea Turso 3a31b59473 Minor changes to the EventDispatcherTest
- Removed Exception class import
 - Added FQN at L60
 - Added documentation
 - Added @group event-dispatcher
12 years ago
Andrea Turso f626ccbcee Wrapped the listener invocation a try/catch block that catches any
exception and throws a \RuntimeException.
Added a test case for the EventDispatcher.

Note:
In order to test the doDispatch method I had to use a stub EventDispatcher
with a getListeners that returned a preconfigured array. IMHO there should
be a way to inject the listeners into the EventDispatcher.
12 years ago