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

24 lines
464 B
PHP
Raw Normal View History

2018-11-10 13:09:18 +01:00
<?php
2019-01-20 10:41:58 +01:00
namespace App\Attribut;
2018-11-10 13:09:18 +01:00
2018-11-21 17:16:32 +01:00
use App\Entity\Source\Primitive\Name\FirstNameSourceInterface;
2018-11-10 13:09:18 +01:00
trait FirstNameSourceAttribut
{
/**
* @var FirstNameSourceInterface
*/
protected $firstNameSource;
public function getFirstNameSource(): FirstNameSourceInterface
{
return $this->firstNameSource;
}
public function setFirstNameSource(FirstNameSourceInterface $name): void
{
$this->firstNameSource = $name;
}
}