infinito/application/src/Entity/Attribut/NameSourceAttribut.php

27 lines
459 B
PHP
Raw Normal View History

2018-09-14 14:39:47 +02:00
<?php
namespace App\Entity\Attribut;
2018-11-15 20:30:34 +01:00
use App\Entity\Source\Data\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
}
}