2018-09-06 14:34:43 +02:00
|
|
|
<?php
|
2018-09-12 22:25:22 +02:00
|
|
|
|
2018-09-06 14:34:43 +02:00
|
|
|
namespace App\Entity\Attribut;
|
|
|
|
|
2018-09-14 18:26:09 +02:00
|
|
|
use Doctrine\Common\Collections\Collection;
|
2018-09-06 15:14:33 +02:00
|
|
|
|
2018-09-06 14:34:43 +02:00
|
|
|
/**
|
|
|
|
* @author kevinfrantz
|
|
|
|
*/
|
2018-09-12 22:25:22 +02:00
|
|
|
trait ChildsAttribut
|
|
|
|
{
|
2018-09-06 15:14:33 +02:00
|
|
|
/**
|
2018-10-28 20:28:29 +01:00
|
|
|
* @var Collection|ChildsAttributeInterface[]
|
2018-09-06 14:34:43 +02:00
|
|
|
*/
|
|
|
|
protected $childs;
|
2018-09-12 22:25:22 +02:00
|
|
|
|
2018-09-14 18:26:09 +02:00
|
|
|
public function getChilds(): Collection
|
2018-09-06 14:34:43 +02:00
|
|
|
{
|
2018-09-14 18:26:09 +02:00
|
|
|
return $this->childs;
|
2018-09-06 14:34:43 +02:00
|
|
|
}
|
2018-09-12 22:25:22 +02:00
|
|
|
|
2018-09-14 18:26:09 +02:00
|
|
|
public function setChilds(Collection $childs): void
|
2018-09-06 14:34:43 +02:00
|
|
|
{
|
|
|
|
$this->childs = $childs;
|
|
|
|
}
|
|
|
|
}
|