Dynamic DiscriminatorMap extender for Symfony2 with Doctrine ORM 2