mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-25 13:12:22 +01:00
29 lines
443 B
PHP
29 lines
443 B
PHP
|
<?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;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|