public function __construct(InvoiceRepository $invoiceRepo) { parent::__construct(); $this->invoiceRepo = $invoiceRepo; }