infinito/application/src/Entity/Node.php

60 lines
909 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
*
*/
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
{}
2018-09-06 11:57:06 +02:00
public function setSource(SourceInterface $source):void
2018-09-05 15:46:14 +02:00
{}
public function getSource(): SourceInterface
{}
}