infinito/application/src/Entity/NodeInterface.php

28 lines
549 B
PHP
Raw Normal View History

2018-09-05 15:46:14 +02:00
<?php
namespace App\Entity;
use Doctrine\Common\Collections\ArrayCollection;
/**
*
* @author kevinfrantz
*
*/
interface NodeInterface
{
public function getId():int;
public function setParents(ArrayCollection $parents):void;
public function getParents():ArrayCollection;
public function setChilds(ArrayCollection $childs):void;
public function getChilds():ArrayCollection;
public function getSource():SourceInterface;
public function setSource(SourceInterface $source):void;
}