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