wip: continue implementation
This commit is contained in:
1 parent
b5d52b0053
commit
84ab6446ea
81 files changed
+9127
-898
No files matched your search
@@ -7,6 +7,7 @@ class Communication
|
||||
public ?string $phone = null;
|
||||
public ?string $mobile = null;
|
||||
public ?string $email = null;
|
||||
public bool $newsletter = false;
|
||||
|
||||
public function toPayload(): array
|
||||
{
|
||||
@@ -14,6 +15,7 @@ class Communication
|
||||
'email' => $this->email,
|
||||
'telefonmobil' => $this->mobile,
|
||||
'telefonprivat' => $this->phone,
|
||||
'newsletter' => $this->newsletter ? 'True' : 'False',
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user