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 | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| RegionMap | 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\Core\World\Region; | |
| 6 | ||
| 7 | use Lorekeeper\Core\Progression\LevelRange; | |
| 8 | use Lorekeeper\Core\World\Map\MapDescription; | |
| 9 | use Lorekeeper\Core\World\Map\MapName; | |
| 10 | use Lorekeeper\Core\World\Map\MapTitle; | |
| 11 | use Psl\Option\Option; | |
| 12 | ||
| 13 | final readonly class RegionMap | |
| 14 | { | |
| 15 | /** @param Option<MapDescription> $description */ | |
| 16 | public function __construct( | |
| 17 | public MapName $mapName, | |
| 18 | public MapTitle $title, | |
| 19 | public Option $description, | |
| 20 | public LevelRange $levels, | |
| 21 | ) {} | |
| 22 | } |