Maintain local ⭤ remote in sync with automatic AT Protocol parity for Laravel (alpha & unstable)
1<?php
2
3namespace SocialDept\AtpParity\Events;
4
5use Illuminate\Database\Eloquent\Model;
6use Illuminate\Foundation\Events\Dispatchable;
7use SocialDept\AtpParity\Sync\PendingConflict;
8use SocialDept\AtpSchema\Data\Data;
9
10/**
11 * Dispatched when a conflict is detected that requires manual resolution.
12 */
13class ConflictDetected
14{
15 use Dispatchable;
16
17 public function __construct(
18 public readonly Model $model,
19 public readonly Data $record,
20 public readonly array $meta,
21 public readonly PendingConflict $conflict,
22 ) {}
23}