Continued the integration of person identity

This commit is contained in:
Kevin Frantz
2018-11-10 12:30:59 +01:00
parent 7a6a5e1bcf
commit c1b073eba8
21 changed files with 206 additions and 52 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace App\Entity\Attribut;
use App\Entity\Source\Combination\FullPersonNameSourceInterface;
trait FullPersonNameSourceAttribut
{
/**
* @var FullPersonNameSourceInterface
*/
protected $fullPersonNameSource;
public function getFullPersonNameSource(): FullPersonNameSourceInterface
{
return $this->fullPersonNameSource;
}
public function setFullPersonNameSource(FullPersonNameSourceInterface $fullname): void
{
$this->fullPersonNameSource = $fullname;
}
}

View File

@@ -0,0 +1,12 @@
<?php
namespace App\Entity\Attribut;
use App\Entity\Source\Combination\FullPersonNameSourceInterface;
interface FullPersonNameSourceAttributInterface
{
public function getFullPersonNameSource(): FullPersonNameSourceInterface;
public function setFullPersonNameSource(FullPersonNameSourceInterface $fullname): void;
}

View File

@@ -0,0 +1,23 @@
<?php
namespace Entity\Attribut;
use App\Entity\Source\Data\PersonIdentitySourceInterface;
trait PersonIdentityAttribut
{
/**
* @var PersonIdentitySourceInterface
*/
protected $personIdentitySource;
public function getPersonIdentitySource(): PersonIdentitySourceInterface
{
return $this->personIdentitySource;
}
public function setPersonIdentitySource(PersonIdentitySourceInterface $identity): void
{
$this->personIdentitySource = $identity;
}
}

View File

@@ -0,0 +1,12 @@
<?php
namespace App\Entity\Attribut;
use App\Entity\Source\Data\PersonIdentitySourceInterface;
interface PersonIdentitySourceAttributInterface
{
public function getPersonIdentitySource(): PersonIdentitySourceInterface;
public function setPersonIdentitySource(PersonIdentitySourceInterface $identity): void;
}