mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-28 22:44:00 +01:00
28 lines
549 B
PHP
28 lines
549 B
PHP
|
<?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;
|
||
|
}
|
||
|
|