. */ namespace SP\Domain\Common\Repositories; use Closure; /** * Interface RepositoryInterface */ interface RepositoryInterface { /** * Bubbles a Closure in a database transaction * * @param \Closure $closure * * @return mixed * @throws \SP\Domain\Common\Services\ServiceException * @throws \Exception */ public function transactionAware(Closure $closure): mixed; }