Lines
100.00%
1 / 1
Methods
100.00%
1 / 1
Classes
100.00%
1 / 1
| Name | Lines | Methods | CRAP | ||||
|---|---|---|---|---|---|---|---|
| __construct | 100.00% | 1 / 1 | 100.00% | 1 / 1 | 1 | ||
| 10 | abstract 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 | } |
From Lorekeeper\Core\Game\Tag\Traits\Taggable
| 13 | trait Taggable | |
| 14 | { | |
| 15 | /** @var Tags<T> */ | |
| 16 | public readonly Tags $tags; | |
| 17 | } |