mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Added AbstractEntityController
This commit is contained in:
@@ -8,7 +8,7 @@ use Doctrine\ORM\Mapping as ORM;
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
class AbstractEntity
|
||||
abstract class AbstractEntity implements EntityInterface
|
||||
{
|
||||
use IdAttribut;
|
||||
|
||||
|
12
application/src/Entity/EntityInterface.php
Normal file
12
application/src/Entity/EntityInterface.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
namespace App\Entity;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*
|
||||
*/
|
||||
interface EntityInterface
|
||||
{
|
||||
}
|
||||
|
@@ -3,11 +3,12 @@ namespace App\Entity\Source;
|
||||
|
||||
use App\Entity\Attribut\NodeAttributInterface;
|
||||
use App\Entity\Attribut\IdAttributInterface;
|
||||
use App\Entity\EntityInterface;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
interface SourceInterface extends IdAttributInterface, NodeAttributInterface
|
||||
interface SourceInterface extends IdAttributInterface, NodeAttributInterface, EntityInterface
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user