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

22 lines
479 B
PHP

<?php
declare(strict_types=1);
namespace Lvl0\FediDiscover\Events;
use Carbon\CarbonImmutable;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class UrlDiscovered
{
use Dispatchable, SerializesModels;
public function __construct(
public string $url,
public int $instanceId,
public CarbonImmutable $discoveredAt,
public ?string $postUrl = null,
public ?string $postBody = null,
) {}
}