mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-25 13:12:22 +01:00
27 lines
457 B
PHP
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;
|
|
}
|
|
}
|