2018-11-25 23:12:42 +01:00
|
|
|
<?php
|
2018-11-25 23:19:38 +01:00
|
|
|
|
2019-02-17 14:33:19 +01:00
|
|
|
namespace Infinito\Attribut;
|
2018-11-25 23:12:42 +01:00
|
|
|
|
2019-02-17 14:33:19 +01:00
|
|
|
use Infinito\Entity\Meta\Relation\Parent\CreatorRelationInterface;
|
2018-11-25 23:12:42 +01:00
|
|
|
|
2019-02-25 14:34:55 +01:00
|
|
|
/**
|
|
|
|
* @author kevinfrantz
|
|
|
|
*/
|
2018-11-25 23:12:42 +01:00
|
|
|
interface CreatorRelationAttributInterface
|
|
|
|
{
|
2019-02-25 14:34:55 +01:00
|
|
|
const CREATORRELATION_ATTRIBUT_NAME = 'creatorRelation';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @param CreatorRelationInterface $creatorRelation
|
|
|
|
*/
|
2018-11-25 23:12:42 +01:00
|
|
|
public function setCreatorRelation(CreatorRelationInterface $creatorRelation);
|
2018-11-25 23:19:38 +01:00
|
|
|
|
2019-02-25 14:34:55 +01:00
|
|
|
/**
|
|
|
|
* @return CreatorRelationInterface
|
|
|
|
*/
|
2018-11-25 23:19:38 +01:00
|
|
|
public function getCreatorRelation(): CreatorRelationInterface;
|
|
|
|
}
|