2018-09-14 14:39:47 +02:00
|
|
|
<?php
|
|
|
|
|
2019-01-20 10:41:58 +01:00
|
|
|
namespace App\Attribut;
|
2018-09-14 14:39:47 +02:00
|
|
|
|
2018-11-21 17:16:32 +01:00
|
|
|
use App\Entity\Source\Primitive\Name\NameSourceInterface;
|
2018-09-14 14:39:47 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @author kevinfrantz
|
|
|
|
*/
|
|
|
|
trait NameSourceAttribut
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var NameSourceInterface
|
|
|
|
*/
|
|
|
|
protected $nameSource;
|
|
|
|
|
|
|
|
public function setNameSource(NameSourceInterface $nameSource): void
|
|
|
|
{
|
|
|
|
$this->nameSource = $nameSource;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getNameSource(): NameSourceInterface
|
|
|
|
{
|
2018-09-21 19:51:28 +02:00
|
|
|
return $this->nameSource;
|
2018-09-14 14:39:47 +02:00
|
|
|
}
|
|
|
|
}
|