change EntityManagerInterface to ObjectManager 

according with doctrine  2.3