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