email = new Email($email); $this->firstName = new FirstName($firstName); $this->lastName = new LastName($lastName); } public function setPassword(?string $password): self { $this->password = new Password($password); return $this; } public function setLanguage(string $language): self { $this->language = new Language($language); return $this; } public function setIp(?string $ip): self { $this->ip = new Ip($ip); return $this; } public function setCountryCode(?string $countryCode): self { $this->countryCode = CountryCode::from($countryCode); return $this; } public function setCityName(?string $cityName): self { $this->cityName = new CityName($cityName); return $this; } public function setRole(int $role): self { $this->role = Role::from($role); return $this; } public function setStatus(int $status): self { $this->status = Status::from($status); return $this; } public function setRefCode(?string $refCode): self { $this->refCode = new Code($refCode); return $this; } }