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

27 lines
447 B
PHP
Raw Normal View History

2018-09-14 14:39:47 +02:00
<?php
namespace App\Entity\Attribut;
use App\Entity\NameSourceInterface;
/**
* @author kevinfrantz
*/
trait NameSourceAttribut
{
/**
* @var NameSourceInterface
*/
protected $nameSource;
public function setNameSource(NameSourceInterface $nameSource): void
{
$this->nameSource = $nameSource;
}
public function getNameSource(): NameSourceInterface
{
return $this->getNameSource();
}
}