2018-09-14 00:18:21 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace App\Entity\Attribut;
|
|
|
|
|
2018-10-31 16:15:39 +01:00
|
|
|
use App\Entity\Meta\RecieverInterface;
|
|
|
|
|
2018-09-14 00:18:21 +02:00
|
|
|
/**
|
|
|
|
* @author kevinfrantz
|
|
|
|
*/
|
|
|
|
trait RecieverAttribut
|
|
|
|
{
|
|
|
|
/**
|
2018-10-31 16:15:39 +01:00
|
|
|
* @var RecieverInterface
|
2018-09-14 00:18:21 +02:00
|
|
|
*/
|
|
|
|
protected $reciever;
|
|
|
|
|
2018-11-04 23:59:58 +01:00
|
|
|
public function setReciever(RecieverInterface $reciever): void
|
2018-09-14 00:18:21 +02:00
|
|
|
{
|
2018-11-04 23:59:58 +01:00
|
|
|
$this->reciever = $reciever;
|
2018-09-14 00:18:21 +02:00
|
|
|
}
|
|
|
|
|
2018-10-31 16:15:39 +01:00
|
|
|
public function getReciever(): RecieverInterface
|
2018-09-14 00:18:21 +02:00
|
|
|
{
|
|
|
|
return $this->reciever;
|
|
|
|
}
|
|
|
|
}
|