public function getFaxTypeByName($name) { return $this->em->getRepository(self::$faxTypeEntityName)->findOneByName($name); }