mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 14:27:28 +01:00
24 lines
473 B
PHP
24 lines
473 B
PHP
<?php
|
|
|
|
namespace App\Attribut;
|
|
|
|
use App\Entity\Meta\Relation\Parent\ParentRelationInterface;
|
|
|
|
trait ParentRelationAttribut
|
|
{
|
|
/**
|
|
* @var ParentRelationInterface
|
|
*/
|
|
protected $parentRelation;
|
|
|
|
public function setParentRelation(ParentRelationInterface $parentRelation): void
|
|
{
|
|
$this->parentRelation = $parentRelation;
|
|
}
|
|
|
|
public function getParentRelation(): ParentRelationInterface
|
|
{
|
|
return $this->parentRelation;
|
|
}
|
|
}
|