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

24 lines
480 B
PHP
Raw Normal View History

2018-11-26 21:41:06 +01:00
<?php
namespace App\Entity\Attribut;
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;
}
}