mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 22:17:26 +01:00
Declared AbstractNameSource as abstract and adapted paths for usersource
This commit is contained in:
parent
43cdc6fa0b
commit
ea20f7562a
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Entity\Source\Data;
|
namespace App\Entity\Source\Combination;
|
||||||
|
|
||||||
use Doctrine\ORM\Mapping as ORM;
|
use Doctrine\ORM\Mapping as ORM;
|
||||||
use App\Entity\Attribut\UserAttribut;
|
use App\Entity\Attribut\UserAttribut;
|
||||||
@ -12,7 +12,7 @@ use Entity\Attribut\PersonIdentityAttribut;
|
|||||||
* @ORM\Table(name="source_data_user")
|
* @ORM\Table(name="source_data_user")
|
||||||
* @ORM\Entity(repositoryClass="App\Repository\UserSourceRepository")
|
* @ORM\Entity(repositoryClass="App\Repository\UserSourceRepository")
|
||||||
*/
|
*/
|
||||||
class UserSource extends AbstractDataSource implements UserSourceInterface
|
class UserSource extends AbstractCombinationSource implements UserSourceInterface
|
||||||
{
|
{
|
||||||
use UserAttribut,PersonIdentityAttribut;
|
use UserAttribut,PersonIdentityAttribut;
|
||||||
|
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace App\Entity\Source\Data;
|
namespace App\Entity\Source\Combination;
|
||||||
|
|
||||||
use App\Entity\Attribut\UserAttributInterface;
|
use App\Entity\Attribut\UserAttributInterface;
|
||||||
use App\Entity\Attribut\PersonIdentitySourceAttributInterface;
|
use App\Entity\Attribut\PersonIdentitySourceAttributInterface;
|
||||||
|
use App\Entity\Source\Data\DataSourceInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author kevinfrantz
|
* @author kevinfrantz
|
||||||
|
@ -4,6 +4,6 @@ namespace App\Entity\Source\Data\Name;
|
|||||||
|
|
||||||
use App\Entity\Source\Data\AbstractDataSource;
|
use App\Entity\Source\Data\AbstractDataSource;
|
||||||
|
|
||||||
class AbstractNameSource extends AbstractDataSource implements NameSourceInterface
|
abstract class AbstractNameSource extends AbstractDataSource implements NameSourceInterface
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -6,8 +6,8 @@ use Doctrine\ORM\Mapping as ORM;
|
|||||||
use FOS\UserBundle\Model\User as BaseUser;
|
use FOS\UserBundle\Model\User as BaseUser;
|
||||||
use App\Entity\Attribut\SourceAttribut;
|
use App\Entity\Attribut\SourceAttribut;
|
||||||
use App\Entity\Attribut\IdAttribut;
|
use App\Entity\Attribut\IdAttribut;
|
||||||
use App\Entity\Source\Data\UserSourceInterface;
|
use App\Entity\Source\Combination\UserSourceInterface;
|
||||||
use App\Entity\Source\Data\UserSource;
|
use App\Entity\Source\Combination\UserSource;
|
||||||
use App\Entity\Attribut\VersionAttribut;
|
use App\Entity\Attribut\VersionAttribut;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
namespace tests\unit\Entity\Source\Combination;
|
namespace tests\unit\Entity\Source\Combination;
|
||||||
|
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
use App\Entity\Source\Data\UserSourceInterface;
|
use App\Entity\Source\Combination\UserSourceInterface;
|
||||||
use App\Entity\Source\Data\UserSource;
|
use App\Entity\Source\Combination\UserSource;
|
||||||
use Doctrine\Common\Collections\Collection;
|
use Doctrine\Common\Collections\Collection;
|
||||||
use App\Entity\Source\Data\PersonIdentitySourceInterface;
|
use App\Entity\Source\Data\PersonIdentitySourceInterface;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user