Doctrine 2 - ORM

Invalid arguments to PreFlushEventArgs class