mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
In between commit implementing EntityDomServiceTest
This commit is contained in:
@@ -4,6 +4,11 @@ namespace Infinito\Attribut;
|
||||
|
||||
use Infinito\Entity\Meta\Relation\Parent\CreatorRelationInterface;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*
|
||||
* @see CreatorRelationAttributInterface
|
||||
*/
|
||||
trait CreatorRelationAttribut
|
||||
{
|
||||
/**
|
||||
@@ -11,11 +16,17 @@ trait CreatorRelationAttribut
|
||||
*/
|
||||
protected $creatorRelation;
|
||||
|
||||
/**
|
||||
* @param CreatorRelationInterface $creatorRelation
|
||||
*/
|
||||
public function setCreatorRelation(CreatorRelationInterface $creatorRelation)
|
||||
{
|
||||
$this->creatorRelation = $creatorRelation;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return CreatorRelationInterface
|
||||
*/
|
||||
public function getCreatorRelation(): CreatorRelationInterface
|
||||
{
|
||||
return $this->creatorRelation;
|
||||
|
Reference in New Issue
Block a user