Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | namespace Apie\Core\Entities; |
| 3 | |
| 4 | use Apie\Core\Identifiers\IdentifierInterface; |
| 5 | |
| 6 | /** |
| 7 | * All Apie entities should implement this interface to tell Apie this is an entity. |
| 8 | */ |
| 9 | interface EntityInterface |
| 10 | { |
| 11 | /** |
| 12 | * @return IdentifierInterface<static> |
| 13 | */ |
| 14 | public function getId(): IdentifierInterface; |
| 15 | } |