Implemented test and constructor for FullPersonNameSource

This commit is contained in:
Kevin Frantz
2018-11-15 20:47:36 +01:00
parent 7be76cac0d
commit 3648184811
4 changed files with 55 additions and 4 deletions

View File

@@ -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;
}