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

@@ -4,8 +4,17 @@ namespace App\Entity\Source\Combination;
use App\Entity\Attribut\FirstNameSourceAttribut;
use App\Entity\Attribut\SurnameSourceAttribut;
use App\Entity\Source\Data\Name\SurnameSource;
use App\Entity\Source\Data\Name\FirstNameSource;
class FullPersonNameSource extends AbstractCombinationSource implements FullPersonNameSourceInterface
{
use FirstNameSourceAttribut,SurnameSourceAttribut;
public function __construct()
{
parent::__construct();
$this->surnameSource = new SurnameSource();
$this->firstNameSource = new FirstNameSource();
}
}