infinito/application/src/Entity/Attribut/ParentAttribut.php

30 lines
493 B
PHP
Raw Normal View History

2018-09-06 13:52:34 +02:00
<?php
2018-09-06 14:03:08 +02:00
namespace App\Entity\Attribut;
2018-09-06 13:52:34 +02:00
use Doctrine\Common\Collections\ArrayCollection;
use App\Entity\NodeInterface;
/**
*
* @author kevinfrantz
*
*/
trait ParentAttribut {
/**
*
* @var ArrayCollection|NodeInterface[]
*/
protected $parents;
public function getParents(): ArrayCollection
{
return $this->parents;
}
public function setParents(ArrayCollection $parents): void
{
$this->parents = $parents;
}
}