creditRepo = $creditRepo; } protected function getRepo() { return $this->creditRepo; } public function save($data) { return $this->creditRepo->save($data); } }