mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-11 06:47:31 +01:00
25 lines
381 B
PHP
25 lines
381 B
PHP
<?php
|
|
|
|
namespace Entity\Attribut;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*/
|
|
trait ParentAttribut
|
|
{
|
|
/**
|
|
* @var ParentAttributInterface
|
|
*/
|
|
protected $parent;
|
|
|
|
public function setParent(ParentAttributInterface $parent): void
|
|
{
|
|
$this->parent = $parent;
|
|
}
|
|
|
|
public function getParent(): ParentAttributInterface
|
|
{
|
|
return $this->parent;
|
|
}
|
|
}
|