Optimized ORM Draft

This commit is contained in:
Kevin Frantz
2018-09-06 14:34:43 +02:00
parent f9e44deac4
commit bccafb4740
6 changed files with 68 additions and 19 deletions

View File

@@ -1,20 +1,16 @@
<?php
namespace App\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use App\Entity\Attribut\SourceAttributInterface;
use App\Entity\Attribut\IdAttributInterface;
use App\Entity\Attribut\ParentsAttributInterface;
use App\Entity\Attribut\ChildsAttributeInterface;
/**
*
* @author kevinfrantz
*
*/
interface NodeInterface extends SourceAttributInterface, IdAttributInterface,ParentsAttributInterface
{
public function setChilds(ArrayCollection $childs):void;
public function getChilds():ArrayCollection;
}
interface NodeInterface extends SourceAttributInterface, IdAttributInterface,ParentsAttributInterface,ChildsAttributeInterface
{}