infinito/application/symfony/src/Attribut/ChildsAttribut.php
2019-02-17 14:33:19 +01:00

29 lines
450 B
PHP

<?php
namespace Infinito\Attribut;
use Doctrine\Common\Collections\Collection;
/**
* @see ChildsAttributInterface
*
* @author kevinfrantz
*/
trait ChildsAttribut
{
/**
* @var Collection|ChildsAttributInterface[]
*/
protected $childs;
public function getChilds(): Collection
{
return $this->childs;
}
public function setChilds(Collection $childs): void
{
$this->childs = $childs;
}
}