use Locastic\Loggastic\Bridge\Elasticsearch\Context\ElasticsearchContextFactoryInterface;
6
use Locastic\Loggastic\Bridge\Elasticsearch\ElasticsearchService;
7
use Locastic\Loggastic\Model\Output\CurrentDataTracker;
8
use Locastic\Loggastic\Model\Output\CurrentDataTrackerInterface;
9
10
final class CurrentDataTrackerProvider implements CurrentDataTrackerProviderInterface
11
{
12
public function __construct(private readonly ElasticsearchService $elasticsearchService, private readonly ElasticsearchContextFactoryInterface $elasticsearchContextFactory)
13
{
14
}
15
16
public function getCurrentDataTrackerByClassAndId(string $className, $objectId): ?CurrentDataTrackerInterface