mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-26 21:44:02 +01:00
24 lines
434 B
PHP
24 lines
434 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Entity\Attribut;
|
||
|
|
||
|
use App\Entity\Source\Data\Name\SurnameSourceInterface;
|
||
|
|
||
|
trait SurnameSourceAttribut
|
||
|
{
|
||
|
/**
|
||
|
* @var SurnameSourceInterface
|
||
|
*/
|
||
|
protected $surnameSource;
|
||
|
|
||
|
public function getSurname(): SurnameSourceInterface
|
||
|
{
|
||
|
return $this->surnameSource;
|
||
|
}
|
||
|
|
||
|
public function setSurname(SurnameSourceInterface $name): void
|
||
|
{
|
||
|
$this->surnameSource = $name;
|
||
|
}
|
||
|
}
|