infinito/application/symfony/src/Attribut/NameSourceAttribut.php
2019-01-20 10:41:58 +01:00

27 lines
457 B
PHP

<?php
namespace App\Attribut;
use App\Entity\Source\Primitive\Name\NameSourceInterface;
/**
* @author kevinfrantz
*/
trait NameSourceAttribut
{
/**
* @var NameSourceInterface
*/
protected $nameSource;
public function setNameSource(NameSourceInterface $nameSource): void
{
$this->nameSource = $nameSource;
}
public function getNameSource(): NameSourceInterface
{
return $this->nameSource;
}
}