infinito/application/src/Entity/Node.php

33 lines
658 B
PHP
Raw Normal View History

2018-09-05 15:46:14 +02:00
<?php
namespace App\Entity;
2018-09-06 14:03:08 +02:00
use Doctrine\ORM\Mapping as ORM;
2018-09-05 15:46:14 +02:00
use Doctrine\Common\Collections\ArrayCollection;
2018-09-06 14:03:08 +02:00
use App\Entity\Attribut\IdAttribut;
use App\Entity\Attribut\SourceAttribut;
use App\Entity\Attribut\ParentAttribut;
2018-09-05 15:46:14 +02:00
/**
*
* @author kevinfrantz
2018-09-06 14:03:08 +02:00
* @ORM\Table(name="node")
* @ORM\Entity(repositoryClass="App\Repository\NodeRepository")
2018-09-05 15:46:14 +02:00
*/
class Node implements NodeInterface
{
2018-09-06 13:52:34 +02:00
use IdAttribut,SourceAttribut, ParentAttribut;
2018-09-05 15:46:14 +02:00
/**
*
* @var ArrayCollection|Node[]
*/
protected $childs;
public function getChilds(): ArrayCollection
{}
public function setChilds(ArrayCollection $childs): void
{}
}