trove/packages/Lvl0/FediDiscover/src/Events/UrlDiscovered.php

23 lines
479 B
PHP
Raw Normal View History

2026-04-24 21:55:57 +02:00
<?php
declare(strict_types=1);
2026-04-24 21:55:57 +02:00
namespace Lvl0\FediDiscover\Events;
use Carbon\CarbonImmutable;
2026-04-24 21:55:57 +02:00
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class UrlDiscovered
{
use Dispatchable, SerializesModels;
2026-04-24 21:55:57 +02:00
public function __construct(
public string $url,
public int $instanceId,
public CarbonImmutable $discoveredAt,
public ?string $postUrl = null,
public ?string $postBody = null,
2026-04-24 21:55:57 +02:00
) {}
}