db); BankTransaction::where('company_id', $this->company_id) ->where('status_id', BankTransaction::STATUS_UNMATCHED) ->cursor() ->each(function ($bt){ (new BankService($bt))->processRules(); }); } /** * The unique ID of the job. * * @return string */ public function uniqueId() { return (string)$this->company_id; } }