Added draft for Identity and Names

This commit is contained in:
Kevin Frantz
2018-11-10 17:25:48 +01:00
parent a06422a1c4
commit 7a6a5e1bcf
15 changed files with 129 additions and 15 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Entity\Source\Combination;
use App\Entity\Source\Data\Name\FirstNameSourceInterface;
use App\Entity\Source\Data\Name\SurnameSourceInterface;
/**
* @todo Maybe a middle name would be helpfull in the future ;)
* @author kevinfrantz
*
*/
interface FullPersonNameSourceInterface extends CombinationSourceInterface
{
public function getFirstName():FirstNameSourceInterface;
public function setFirstName(FirstNameSourceInterface $name):void;
public function getSurname():SurnameSourceInterface;
public function setSurname(SurnameSourceInterface $name):void;
}