infinito/application/src/Entity/Attribut/SurnameSourceAttribut.php
2018-11-15 19:55:03 +01:00

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;
}
}