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

24 lines
454 B
PHP
Raw Normal View History

<?php
namespace Infinito\Attribut;
use Infinito\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;
}
}