public function findBy(array $criteria, $orderBy = null, $limit = 25, $offset = 0) { return $this->orm->getRepository('Newscoop\\Image\\LocalImage')->findBy($criteria, $orderBy, $limit, $offset); }