infinito/application/src/Entity/Attribut/SurnameSourceAttribut.php

24 lines
434 B
PHP
Raw Normal View History

<?php
namespace App\Entity\Attribut;
use App\Entity\Source\Data\Name\SurnameSourceInterface;
2018-11-15 19:55:03 +01:00
trait SurnameSourceAttribut
{
2018-11-15 19:55:03 +01:00
/**
* @var SurnameSourceInterface
*/
protected $surnameSource;
2018-11-15 19:55:03 +01:00
public function getSurname(): SurnameSourceInterface
{
return $this->surnameSource;
}
public function setSurname(SurnameSourceInterface $name): void
{
$this->surnameSource = $name;
}
}