$entity->getId(), 'name' => $this->safeGet($entity, 'getName'), 'email' => $this->safeGet($entity, 'getEmail'), 'phone' => $this->safeGet($entity, 'getPhone'), ]; } }