assigment = $assigment; $this->questionaire = $questionaire; $this->customer = $customer; } public function toPostParams(): array { return array_merge( $this->assigment->toPostParams(), $this->questionaire->toPostParams(), [ 'customer' => $this->customer->toPostParams() ] ); } }