infinito/application/symfony/src/Entity/Attribut/CreatorRelationAttribut.php

24 lines
486 B
PHP
Raw Normal View History

2018-11-25 23:12:42 +01:00
<?php
2018-11-25 23:12:42 +01:00
namespace App\Entity\Attribut;
2018-11-25 23:38:22 +01:00
use App\Entity\Meta\Relation\Parent\CreatorRelationInterface;
2018-11-25 23:12:42 +01:00
trait CreatorRelationAttribut
{
/**
* @var CreatorRelationInterface
*/
protected $creatorRelation;
public function setCreatorRelation(CreatorRelationInterface $creatorRelation)
{
2018-11-25 23:12:42 +01:00
$this->creatorRelation = $creatorRelation;
}
public function getCreatorRelation(): CreatorRelationInterface
{
2018-11-25 23:12:42 +01:00
return $this->creatorRelation;
}
}