Lines 100.00% 1 / 1
Functions and Methods 100.00% 1 / 1
Classes and Traits 100.00% 1 / 1
Name Lines Functions and Methods CRAP Classes and Traits
PlayerData 100.00% 1 / 1 100.00% 1 / 1 1 100.00% 1 / 1
 __construct 100.00% 1 / 1 100.00% 1 / 1 1
1<?php
2
3declare(strict_types=1);
4
5namespace Lorekeeper\Server\Event\Player;
6
7use Lorekeeper\Core\Player\PlayerLevel;
8use Lorekeeper\Core\Player\PlayerName;
9use Lorekeeper\Core\Player\PlayerSpawnId;
10
11final readonly class PlayerData
12{
13    public function __construct(
14        public PlayerSpawnId $spawnId,
15        public PlayerName $name,
16        public PlayerLevel $level,
17    ) {}
18}