Add getter and setter for connection in the `DatabaseBatchRepository` class (#43869)
Add getter and setter for connection in the `DatabaseBatchRepository` class (#43869)

* Add `setConnection` and `getConnection` methods

* Update DatabaseBatchRepository.php

Co-authored-by: Taylor Otwell <5d74ae093a16a00e5af127763f2dc7e13988f162@laravel.com>
arturock/framework,driesvints/framework,lucasmichot/framework,laravel/framework,laravel/framework,driesvints/framework,arturock/framework,hafezdivandari/framework,arturock/framework,lucasmichot/framework,hafezdivandari/framework