private function deleteTestNews($TestNews) { $this->app['orm.em']->remove($TestNews); $this->app['orm.em']->flush(); }