* SPDX-License-Identifier: AGPL-3.0-or-later */ namespace KTXM\PeopleManager\Import; use KTXM\PeopleManager\Stream\ExpectedTotal; final readonly class ImportCountEvent implements ImportEvent, ExpectedTotal { public function __construct( public int $total, ) {} public function expectedTotal(): int { return $this->total; } /** * @return array{total: int} */ public function jsonSerialize(): array { return ['total' => $this->total]; } }