mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-04-15 17:58:16 +02:00
27 lines
419 B
PHP
27 lines
419 B
PHP
<?php
|
|
|
|
namespace App\Attribut;
|
|
|
|
use Doctrine\Common\Collections\Collection;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*/
|
|
trait ParentsAttribut
|
|
{
|
|
/**
|
|
* @var Collection|ParentsAttributInterface[]
|
|
*/
|
|
protected $parents;
|
|
|
|
public function getParents(): Collection
|
|
{
|
|
return $this->parents;
|
|
}
|
|
|
|
public function setParents(Collection $parents): void
|
|
{
|
|
$this->parents = $parents;
|
|
}
|
|
}
|