edmondscommerce/doctrine-static-meta

View on GitHub
src/Entity/Interfaces/EntityData.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

declare(strict_types=1);

namespace EdmondsCommerce\DoctrineStaticMeta\Entity\Interfaces;

use Ramsey\Uuid\UuidInterface;

/**
 * This is the root interface implemented by both Entity and DataTransferObject
 */
interface EntityData
{
    public static function getEntityFqn(): string;

    public function getId(): UuidInterface;
}