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

24 lines
444 B
PHP
Raw Normal View History

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