25 lines
513 B
PHP
25 lines
513 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Mail\Dto;
|
|
|
|
use DateTimeImmutable;
|
|
|
|
final readonly class MailSyncReport
|
|
{
|
|
/**
|
|
* @param list<string> $errors
|
|
*/
|
|
public function __construct(
|
|
public int $createdCount,
|
|
public int $updatedCount,
|
|
public int $deletedCount,
|
|
public int $foldersScanned,
|
|
public array $errors,
|
|
public float $durationSeconds,
|
|
public DateTimeImmutable $startedAt,
|
|
public DateTimeImmutable $finishedAt,
|
|
) {}
|
|
}
|