private function getImageRepository() { return $this->em->getRepository('Newscoop\\Image\\LocalImage'); }