mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Controller and Entity draft
This commit is contained in:
59
application/src/Entity/Node.php
Normal file
59
application/src/Entity/Node.php
Normal file
@@ -0,0 +1,59 @@
|
||||
<?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
|
||||
{}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user