mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Implemented test and constructor for FullPersonNameSource
This commit is contained in:
@@ -11,12 +11,12 @@ trait SurnameSourceAttribut
|
||||
*/
|
||||
protected $surnameSource;
|
||||
|
||||
public function getSurname(): SurnameSourceInterface
|
||||
public function getSurnameSource(): SurnameSourceInterface
|
||||
{
|
||||
return $this->surnameSource;
|
||||
}
|
||||
|
||||
public function setSurname(SurnameSourceInterface $name): void
|
||||
public function setSurnameSource(SurnameSourceInterface $name): void
|
||||
{
|
||||
$this->surnameSource = $name;
|
||||
}
|
||||
|
@@ -6,7 +6,7 @@ use App\Entity\Source\Data\Name\SurnameSourceInterface;
|
||||
|
||||
interface SurnameSourceAttributInterface
|
||||
{
|
||||
public function getSurname(): SurnameSourceInterface;
|
||||
public function getSurnameSource(): SurnameSourceInterface;
|
||||
|
||||
public function setSurname(SurnameSourceInterface $name): void;
|
||||
public function setSurnameSource(SurnameSourceInterface $name): void;
|
||||
}
|
||||
|
Reference in New Issue
Block a user