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

29 lines
445 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;
/**
*
* @author kevinfrantz
*
*/
trait ParentAttribut {
2018-09-06 14:34:43 +02:00
2018-09-06 13:52:34 +02:00
/**
2018-09-06 14:34:43 +02:00
* @var ArrayCollection
2018-09-06 13:52:34 +02:00
*/
protected $parents;
public function getParents(): ArrayCollection
{
return $this->parents;
}
public function setParents(ArrayCollection $parents): void
{
$this->parents = $parents;
}
}