mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-26 13:34:01 +01:00
27 lines
423 B
PHP
27 lines
423 B
PHP
<?php
|
|
|
|
namespace App\Entity\Attribut;
|
|
|
|
use App\Entity\Meta\RecieverInterface;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*/
|
|
trait RecieverAttribut
|
|
{
|
|
/**
|
|
* @var RecieverInterface
|
|
*/
|
|
protected $reciever;
|
|
|
|
public function setReciever(RecieverInterface $reciever): void
|
|
{
|
|
$this->reciever = $reciever;
|
|
}
|
|
|
|
public function getReciever(): RecieverInterface
|
|
{
|
|
return $this->reciever;
|
|
}
|
|
}
|