Adde name source to user

This commit is contained in:
Kevin Frantz
2018-09-14 14:39:47 +02:00
parent bfd5d9416e
commit 1d7aaeb1dd
10 changed files with 82 additions and 30 deletions

View File

@@ -0,0 +1,26 @@
<?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();
}
}