ldc-cocotte/domain/Ports/Services/TransactionManager.php

17 lines
248 B
PHP
Raw Permalink Normal View History

2026-06-14 21:32:07 +02:00
<?php
declare(strict_types=1);
namespace Domain\Ports\Services;
interface TransactionManager
{
/**
* @template T
*
* @param callable(): T $callback
* @return T
*/
public function execute(callable $callback);
}