2018-11-11 21:24:54 +01:00
|
|
|
<?php
|
|
|
|
|
2019-01-20 10:41:58 +01:00
|
|
|
namespace App\Attribut;
|
2018-11-11 21:24:54 +01:00
|
|
|
|
2018-11-21 17:16:32 +01:00
|
|
|
use App\Entity\Source\Primitive\Name\SurnameSourceInterface;
|
2018-11-11 21:24:54 +01:00
|
|
|
|
2018-11-15 19:55:03 +01:00
|
|
|
trait SurnameSourceAttribut
|
2018-11-11 21:24:54 +01:00
|
|
|
{
|
2018-11-15 19:55:03 +01:00
|
|
|
/**
|
|
|
|
* @var SurnameSourceInterface
|
|
|
|
*/
|
|
|
|
protected $surnameSource;
|
2018-11-11 21:24:54 +01:00
|
|
|
|
2018-11-15 20:47:36 +01:00
|
|
|
public function getSurnameSource(): SurnameSourceInterface
|
2018-11-15 19:55:03 +01:00
|
|
|
{
|
|
|
|
return $this->surnameSource;
|
|
|
|
}
|
|
|
|
|
2018-11-15 20:47:36 +01:00
|
|
|
public function setSurnameSource(SurnameSourceInterface $name): void
|
2018-11-15 19:55:03 +01:00
|
|
|
{
|
|
|
|
$this->surnameSource = $name;
|
|
|
|
}
|
2018-11-11 21:24:54 +01:00
|
|
|
}
|