mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Solved bugs to allow unit tests to run
This commit is contained in:
@@ -4,9 +4,20 @@ namespace App\Entity\Attribut;
|
||||
|
||||
use App\Entity\Source\Data\Name\SurnameSourceInterface;
|
||||
|
||||
interface SurnameSourceAttributInterface
|
||||
trait SurnameSourceAttribut
|
||||
{
|
||||
public function getSurname(): SurnameSourceInterface;
|
||||
/**
|
||||
* @var SurnameSourceInterface
|
||||
*/
|
||||
protected $surnameSource;
|
||||
|
||||
public function setSurname(SurnameSourceInterface $name): void;
|
||||
public function getSurname(): SurnameSourceInterface
|
||||
{
|
||||
return $this->surnameSource;
|
||||
}
|
||||
|
||||
public function setSurname(SurnameSourceInterface $name): void
|
||||
{
|
||||
$this->surnameSource = $name;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user