Refactored reciever group and adapted testing namespaces

This commit is contained in:
Kevin Frantz
2018-10-31 16:15:39 +01:00
parent 09cfcebb92
commit bb01080b34
17 changed files with 90 additions and 140 deletions

View File

@@ -2,22 +2,24 @@
namespace App\Entity\Attribut;
use App\Entity\Meta\RecieverInterface;
/**
* @author kevinfrantz
*/
trait RecieverAttribut
{
/**
* @var string
* @var RecieverInterface
*/
protected $reciever;
public function setReciever(string $type): void
public function setReciever(RecieverInterface $recieverGroup): void
{
$this->reciever = $type;
$this->reciever = $recieverGroup;
}
public function getReciever(): string
public function getReciever(): RecieverInterface
{
return $this->reciever;
}