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 | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| GameLogin | 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 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Lorekeeper\Client\Login; | |
| 6 | ||
| 7 | use Lorekeeper\Client\ClientVersion; | |
| 8 | use Lorekeeper\Core\Player\PlayerName; | |
| 9 | use SensitiveParameter; | |
| 10 | ||
| 11 | final readonly class GameLogin | |
| 12 | { | |
| 13 | public function __construct( | |
| 14 | public PlayerName $player, | |
| 15 | #[SensitiveParameter] | |
| 16 | public string $token, | |
| 17 | public ClientVersion $version, | |
| 18 | ) {} | |
| 19 | } |