Using the event dispatcher in a Silex application

How to use the event dispatcher in a Silex application