public function getRepository($className) { return $this->getEntityManager()->getRepository($className); }