Lines n/a 0 / 0
Functions and Methods n/a 0 / 0
Classes and Traits n/a 0 / 0
Name Lines Functions and Methods CRAP Classes and Traits
1<?php
2
3declare(strict_types=1);
4
5namespace Stewart\Contracts\Entity;
6
7use Stewart\Contracts\Service\ServiceTargetSource;
8
9interface TypedEntity extends ServiceTargetSource
10{
11    public EntityId $id { get; }
12
13    public static function getDomain(): string;
14
15    public static function isGeneratedEntityId(EntityId $id): bool;
16
17    public function getEntity(): Entity;
18}