public function __construct(Invoice $invoice, Invitation $invitation) { $this->invoice = $invoice; $this->invitation = $invitation; }