2018-11-10 12:30:59 +01:00
|
|
|
<?php
|
|
|
|
|
2018-11-15 19:55:03 +01:00
|
|
|
namespace App\Entity\Attribut;
|
2018-11-10 12:30:59 +01:00
|
|
|
|
2018-11-21 17:55:48 +01:00
|
|
|
use App\Entity\Source\Complex\PersonIdentitySourceInterface;
|
2018-11-10 12:30:59 +01:00
|
|
|
|
2018-11-15 19:55:03 +01:00
|
|
|
trait PersonIdentitySourceAttribut
|
2018-11-10 12:30:59 +01:00
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var PersonIdentitySourceInterface
|
|
|
|
*/
|
|
|
|
protected $personIdentitySource;
|
|
|
|
|
|
|
|
public function getPersonIdentitySource(): PersonIdentitySourceInterface
|
|
|
|
{
|
|
|
|
return $this->personIdentitySource;
|
|
|
|
}
|
|
|
|
|
|
|
|
public function setPersonIdentitySource(PersonIdentitySourceInterface $identity): void
|
|
|
|
{
|
|
|
|
$this->personIdentitySource = $identity;
|
|
|
|
}
|
|
|
|
}
|