Added a domain event wrapper for symfony.