Changed combination to complex

This commit is contained in:
Kevin Frantz 2018-11-21 17:55:48 +01:00
parent 706a439b52
commit 999d17ad28
19 changed files with 29 additions and 29 deletions

View File

@ -2,7 +2,7 @@
namespace App\Entity\Attribut;
use App\Entity\Source\Combination\FullPersonNameSourceInterface;
use App\Entity\Source\Complex\FullPersonNameSourceInterface;
trait FullPersonNameSourceAttribut
{

View File

@ -2,7 +2,7 @@
namespace App\Entity\Attribut;
use App\Entity\Source\Combination\FullPersonNameSourceInterface;
use App\Entity\Source\Complex\FullPersonNameSourceInterface;
interface FullPersonNameSourceAttributInterface
{

View File

@ -2,7 +2,7 @@
namespace App\Entity\Attribut;
use App\Entity\Source\Combination\PersonIdentitySourceInterface;
use App\Entity\Source\Complex\PersonIdentitySourceInterface;
trait PersonIdentitySourceAttribut
{

View File

@ -2,7 +2,7 @@
namespace App\Entity\Attribut;
use App\Entity\Source\Combination\PersonIdentitySourceInterface;
use App\Entity\Source\Complex\PersonIdentitySourceInterface;
interface PersonIdentitySourceAttributInterface
{

View File

@ -1,6 +1,6 @@
<?php
namespace App\Entity\Source\Combination;
namespace App\Entity\Source\Complex;
use App\Entity\Source\AbstractSource;
use Doctrine\ORM\Mapping as ORM;

View File

@ -1,6 +1,6 @@
<?php
namespace App\Entity\Source\Combination;
namespace App\Entity\Source\Complex;
use App\Entity\Source\Primitive\DataSourceInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace App\Entity\Source\Combination;
namespace App\Entity\Source\Complex;
use App\Entity\Attribut\FirstNameSourceAttribut;
use App\Entity\Attribut\SurnameSourceAttribut;

View File

@ -1,6 +1,6 @@
<?php
namespace App\Entity\Source\Combination;
namespace App\Entity\Source\Complex;
use App\Entity\Attribut\FirstNameSourceAttributInterface;
use App\Entity\Attribut\SurnameSourceAttributInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace App\Entity\Source\Combination;
namespace App\Entity\Source\Complex;
use App\Entity\Attribut\FullPersonNameSourceAttribut;
use Doctrine\ORM\Mapping as ORM;

View File

@ -1,6 +1,6 @@
<?php
namespace App\Entity\Source\Combination;
namespace App\Entity\Source\Complex;
use App\Entity\Attribut\FullPersonNameSourceAttributInterface;

View File

@ -1,6 +1,6 @@
<?php
namespace App\Entity\Source\Combination;
namespace App\Entity\Source\Complex;
use Doctrine\ORM\Mapping as ORM;
use App\Entity\Attribut\UserAttribut;

View File

@ -1,6 +1,6 @@
<?php
namespace App\Entity\Source\Combination;
namespace App\Entity\Source\Complex;
use App\Entity\Attribut\UserAttributInterface;
use App\Entity\Attribut\PersonIdentitySourceAttributInterface;

View File

@ -6,8 +6,8 @@ use Doctrine\ORM\Mapping as ORM;
use FOS\UserBundle\Model\User as BaseUser;
use App\Entity\Attribut\SourceAttribut;
use App\Entity\Attribut\IdAttribut;
use App\Entity\Source\Combination\UserSourceInterface;
use App\Entity\Source\Combination\UserSource;
use App\Entity\Source\Complex\UserSourceInterface;
use App\Entity\Source\Complex\UserSource;
use App\Entity\Attribut\VersionAttribut;
/**
@ -21,7 +21,7 @@ class User extends BaseUser implements UserInterface
/**
* @var UserSourceInterface
* @ORM\OneToOne(targetEntity="App\Entity\Source\Combination\UserSource",cascade={"persist", "remove"})
* @ORM\OneToOne(targetEntity="App\Entity\Source\Complex\UserSource",cascade={"persist", "remove"})
* @ORM\JoinColumn(name="source_user_id", referencedColumnName="id", onDelete="CASCADE")
*/
protected $source;

View File

@ -3,7 +3,7 @@
namespace Tests\Unit\Entity\Attribut;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Combination\FullPersonNameSourceInterface;
use App\Entity\Source\Complex\FullPersonNameSourceInterface;
use App\Entity\Attribut\FullPersonNameSourceAttributInterface;
use App\Entity\Attribut\FullPersonNameSourceAttribut;

View File

@ -5,7 +5,7 @@ namespace Tests\Unit\Entity\Attribut;
use PHPUnit\Framework\TestCase;
use App\Entity\Attribut\PersonIdentitySourceAttributInterface;
use App\Entity\Attribut\PersonIdentitySourceAttribut;
use App\Entity\Source\Combination\PersonIdentitySourceInterface;
use App\Entity\Source\Complex\PersonIdentitySourceInterface;
/**
* @todo Implement abstract test class for entity attributs

View File

@ -1,10 +1,10 @@
<?php
namespace tests\unit\Entity\Source\Combination;
namespace tests\unit\Entity\Source\Complex;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Combination\FullPersonNameSourceInterface;
use App\Entity\Source\Combination\FullPersonNameSource;
use App\Entity\Source\Complex\FullPersonNameSourceInterface;
use App\Entity\Source\Complex\FullPersonNameSource;
use App\Entity\Source\Primitive\Name\SurnameSourceInterface;
use App\Entity\Source\Primitive\Name\FirstNameSourceInterface;

View File

@ -1,11 +1,11 @@
<?php
namespace tests\unit\Entity\Source\Combination;
namespace tests\unit\Entity\Source\Complex;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Combination\PersonIdentitySourceInterface;
use App\Entity\Source\Combination\PersonIdentitySource;
use App\Entity\Source\Combination\FullPersonNameSourceInterface;
use App\Entity\Source\Complex\PersonIdentitySourceInterface;
use App\Entity\Source\Complex\PersonIdentitySource;
use App\Entity\Source\Complex\FullPersonNameSourceInterface;
class PersonIdentitySourceTest extends TestCase
{

View File

@ -1,12 +1,12 @@
<?php
namespace tests\unit\Entity\Source\Combination;
namespace tests\unit\Entity\Source\Complex;
use PHPUnit\Framework\TestCase;
use App\Entity\Source\Combination\UserSourceInterface;
use App\Entity\Source\Combination\UserSource;
use App\Entity\Source\Complex\UserSourceInterface;
use App\Entity\Source\Complex\UserSource;
use Doctrine\Common\Collections\Collection;
use App\Entity\Source\Combination\PersonIdentitySourceInterface;
use App\Entity\Source\Complex\PersonIdentitySourceInterface;
class UserSourceTest extends TestCase
{

View File

@ -4,7 +4,7 @@ namespace tests\unit\Entity;
use PHPUnit\Framework\TestCase;
use App\Entity\User;
use App\Entity\Source\Combination\UserSource;
use App\Entity\Source\Complex\UserSource;
use App\Entity\UserInterface;
/**