mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 06:27:24 +01:00
29 lines
450 B
PHP
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;
|
|
}
|
|
}
|