Files
scrum-poker-internal/app/Data/Rooms/RoomPageData.php
T
2026-08-20 23:00:47 +02:00

21 lines
427 B
PHP

<?php
namespace App\Data\Rooms;
use App\Models\Player;
use App\Models\Room;
final readonly class RoomPageData
{
/**
* @param array{average: string|null, median: string|null}|null $statistics
*/
public function __construct(
public Room $room,
public Player $currentPlayer,
public bool $isFavorite,
public ?string $currentVote,
public ?array $statistics,
) {}
}