mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 14:27:28 +01:00
35 lines
692 B
PHP
35 lines
692 B
PHP
<?php
|
|
|
|
namespace Infinito\Attribut;
|
|
|
|
use Infinito\Entity\Meta\Relation\Parent\CreatorRelationInterface;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*
|
|
* @see CreatorRelationAttributInterface
|
|
*/
|
|
trait CreatorRelationAttribut
|
|
{
|
|
/**
|
|
* @var CreatorRelationInterface
|
|
*/
|
|
protected $creatorRelation;
|
|
|
|
/**
|
|
* @param CreatorRelationInterface $creatorRelation
|
|
*/
|
|
public function setCreatorRelation(CreatorRelationInterface $creatorRelation)
|
|
{
|
|
$this->creatorRelation = $creatorRelation;
|
|
}
|
|
|
|
/**
|
|
* @return CreatorRelationInterface
|
|
*/
|
|
public function getCreatorRelation(): CreatorRelationInterface
|
|
{
|
|
return $this->creatorRelation;
|
|
}
|
|
}
|