mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Continued the integration of person identity
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
@@ -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;
|
||||
}
|
23
application/src/Entity/Attribut/PersonIdentityAttribut.php
Normal file
23
application/src/Entity/Attribut/PersonIdentityAttribut.php
Normal 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;
|
||||
}
|
||||
}
|
@@ -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;
|
||||
}
|
Reference in New Issue
Block a user