doctrine event listeners