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
Shop 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\Core\World\Shop;
6
7use Lorekeeper\Core\Game\Tag\Tags;
8use Lorekeeper\Core\Game\Tag\Traits\Taggable;
9
10abstract readonly class Shop
11{
12    /** @use Taggable<ShopTag> */
13    use Taggable;
14
15    public function __construct(
16        public ShopId $id,
17        public ShopName $name,
18    ) {
19        $this->tags = new Tags();
20    }
21}