mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-27 05:54:02 +01:00
27 lines
447 B
PHP
27 lines
447 B
PHP
|
<?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();
|
||
|
}
|
||
|
}
|