Added AbstractEntityController

This commit is contained in:
Kevin Frantz
2018-10-03 18:55:33 +02:00
parent 94bc8c5da4
commit af860429b9
7 changed files with 77 additions and 35 deletions

View File

@@ -8,7 +8,7 @@ use Doctrine\ORM\Mapping as ORM;
/**
* @author kevinfrantz
*/
class AbstractEntity
abstract class AbstractEntity implements EntityInterface
{
use IdAttribut;

View File

@@ -0,0 +1,12 @@
<?php
namespace App\Entity;
/**
*
* @author kevinfrantz
*
*/
interface EntityInterface
{
}

View File

@@ -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
{
}