This class should be in the Doctrine bridge