public function __construct(CreditRepository $creditRepo, DatatableService $datatableService) { $this->creditRepo = $creditRepo; $this->datatableService = $datatableService; }