infinito/application/symfony/src/Attribut/MemberRelationAttribut.php

24 lines
473 B
PHP
Raw Normal View History

2018-11-26 21:41:06 +01:00
<?php
2019-01-20 10:41:58 +01:00
namespace App\Attribut;
2018-11-26 21:41:06 +01:00
use App\Entity\Meta\Relation\Member\MemberRelationInterface;
trait MemberRelationAttribut
{
/**
* @var MemberRelationInterface
*/
protected $memberRelation;
2018-11-26 22:30:08 +01:00
public function setMemberRelation(MemberRelationInterface $memberRelation): void
2018-11-26 21:41:06 +01:00
{
$this->memberRelation = $memberRelation;
}
public function getMemberRelation(): MemberRelationInterface
{
return $this->memberRelation;
}
}