public function getMainContact() { if ($this->entity->getMainContact()) { return new Contact($this->entity->getMainContact(), $this->locale); } }