mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-25 21:22:21 +01:00
60 lines
904 B
PHP
60 lines
904 B
PHP
|
<?php
|
||
|
namespace App\Entity;
|
||
|
|
||
|
use Doctrine\Common\Collections\ArrayCollection;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @author kevinfrantz
|
||
|
*
|
||
|
*/
|
||
|
class Node implements NodeInterface
|
||
|
{
|
||
|
/**
|
||
|
*
|
||
|
* @var int
|
||
|
*/
|
||
|
protected $id;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @var SourceInterface
|
||
|
*/
|
||
|
protected $source;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @var ArrayCollection|Node[]
|
||
|
*/
|
||
|
protected $parents;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @var ArrayCollection|Node[]
|
||
|
*/
|
||
|
protected $childs;
|
||
|
|
||
|
public function getParents(): ArrayCollection
|
||
|
{}
|
||
|
|
||
|
public function setParents(ArrayCollection $parents): void
|
||
|
{}
|
||
|
|
||
|
public function getChilds(): ArrayCollection
|
||
|
{}
|
||
|
|
||
|
public function setChilds(ArrayCollection $childs): void
|
||
|
{}
|
||
|
|
||
|
public function getId(): int
|
||
|
{}
|
||
|
|
||
|
public function setSource(SourceInterface $source)
|
||
|
{}
|
||
|
|
||
|
public function getSource(): SourceInterface
|
||
|
{}
|
||
|
|
||
|
}
|
||
|
|