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

29 lines
443 B
PHP
Raw Normal View History

2018-09-06 14:34:43 +02:00
<?php
namespace App\Entity\Attribut;
use Doctrine\Common\Collections\ArrayCollection;
/**
*
* @author kevinfrantz
*
*/
trait ChildsAttribut {
/**
* @var ArrayCollection
*/
protected $childs;
public function getChilds(): ArrayCollection
{
return $this->getChilds();
}
public function setChilds(ArrayCollection $childs): void
{
$this->childs = $childs;
}
}