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