id = is_string($id) ? new Id($id) : $id; } public function setFirstName(string $value): self { $this->firstName = new FirstName($value); return $this; } public function setLastName(string $value): self { $this->lastName = new LastName($value); return $this; } public function setLanguage(string $value): self { $this->language = new Language($value); 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; } }