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