Maintain local ⭤ remote in sync with automatic AT Protocol parity for Laravel (alpha & unstable)
at dev 402 B view raw
1<?php 2 3namespace SocialDept\AtpParity\Events; 4 5use Illuminate\Database\Eloquent\Model; 6use Illuminate\Foundation\Events\Dispatchable; 7 8/** 9 * Dispatched when a model is published to AT Protocol. 10 */ 11class RecordPublished 12{ 13 use Dispatchable; 14 15 public function __construct( 16 public readonly Model $model, 17 public readonly string $uri, 18 public readonly string $cid, 19 ) {} 20}