Convert custom events to symfony events