mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Solved unit tests
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Entity\Attribut;
|
||||
|
||||
use App\Entity\Source\Data\NameSourceInterface;
|
||||
use App\Entity\Source\Data\Name\NameSourceInterface;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Entity\Attribut;
|
||||
|
||||
use App\Entity\Source\Data\NameSourceInterface;
|
||||
use App\Entity\Source\Data\Name\NameSourceInterface;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Entity\Attribut;
|
||||
|
||||
use App\Entity\Source\Data\PersonIdentitySourceInterface;
|
||||
use App\Entity\Source\Combination\PersonIdentitySourceInterface;
|
||||
|
||||
trait PersonIdentitySourceAttribut
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Entity\Attribut;
|
||||
|
||||
use App\Entity\Source\Data\PersonIdentitySourceInterface;
|
||||
use App\Entity\Source\Combination\PersonIdentitySourceInterface;
|
||||
|
||||
interface PersonIdentitySourceAttributInterface
|
||||
{
|
||||
|
@@ -1,10 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Source\Data;
|
||||
namespace App\Entity\Source\Combination;
|
||||
|
||||
use App\Entity\Attribut\FullPersonNameSourceAttribut;
|
||||
use App\Entity\Source\Combination\FullPersonNameSourceInterface;
|
||||
use App\Entity\Source\Combination\FullPersonNameSource;
|
||||
use App\Entity\Source\Data\AbstractDataSource;
|
||||
|
||||
class PersonIdentitySource extends AbstractDataSource implements PersonIdentitySourceInterface
|
||||
{
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Source\Data;
|
||||
namespace App\Entity\Source\Combination;
|
||||
|
||||
use App\Entity\Attribut\FullPersonNameSourceAttributInterface;
|
||||
|
||||
interface PersonIdentitySourceInterface extends DataSourceInterface, FullPersonNameSourceAttributInterface
|
||||
interface PersonIdentitySourceInterface extends CombinationSourceInterface, FullPersonNameSourceAttributInterface
|
||||
{
|
||||
}
|
||||
|
@@ -24,8 +24,16 @@ class UserSource extends AbstractCombinationSource implements UserSourceInterfac
|
||||
*/
|
||||
protected $user;
|
||||
|
||||
/**
|
||||
* @todo Implement ORM mapping for database!
|
||||
*
|
||||
* @var PersonIdentitySourceInterface
|
||||
*/
|
||||
protected $personIdentitySource;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->personIdentitySource = new PersonIdentitySource();
|
||||
parent::__construct();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user