diff --git a/application/src/Domain/SourceManagement/TreeSourceService.php b/application/src/Domain/SourceManagement/TreeSourceService.php index 60d4ae3..3283cfa 100644 --- a/application/src/Domain/SourceManagement/TreeSourceService.php +++ b/application/src/Domain/SourceManagement/TreeSourceService.php @@ -2,8 +2,8 @@ namespace App\Domain\SourceManagement; -use App\Entity\Source\Collection\TreeCollectionSourceInterface; -use App\Entity\Source\Collection\TreeCollectionSource; +use App\Entity\Source\Complex\Collection\TreeCollectionSourceInterface; +use App\Entity\Source\Complex\Collection\TreeCollectionSource; use Doctrine\Common\Collections\Collection; use Doctrine\Common\Collections\ArrayCollection; use App\Entity\Source\SourceInterface; diff --git a/application/src/Entity/Attribut/MembershipsAttribut.php b/application/src/Entity/Attribut/MembershipsAttribut.php index 281938d..1403f9e 100644 --- a/application/src/Entity/Attribut/MembershipsAttribut.php +++ b/application/src/Entity/Attribut/MembershipsAttribut.php @@ -3,7 +3,7 @@ namespace App\Entity\Attribut; use Doctrine\Common\Collections\Collection; -use App\Entity\Source\Collection\TreeCollectionSourceInterface; +use App\Entity\Source\Complex\Collection\TreeCollectionSourceInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Attribut/MembershipsAttributInterface.php b/application/src/Entity/Attribut/MembershipsAttributInterface.php index c0bfa70..83d6080 100644 --- a/application/src/Entity/Attribut/MembershipsAttributInterface.php +++ b/application/src/Entity/Attribut/MembershipsAttributInterface.php @@ -3,7 +3,7 @@ namespace App\Entity\Attribut; use Doctrine\Common\Collections\Collection; -use App\Entity\Source\Collection\TreeCollectionSourceInterface; +use App\Entity\Source\Complex\Collection\TreeCollectionSourceInterface; /** * @author kevinfrantz diff --git a/application/src/Entity/Source/AbstractSource.php b/application/src/Entity/Source/AbstractSource.php index 96b7556..51458b7 100644 --- a/application/src/Entity/Source/AbstractSource.php +++ b/application/src/Entity/Source/AbstractSource.php @@ -14,7 +14,7 @@ use App\Entity\Meta\LawInterface; use App\Entity\Meta\Law; use Doctrine\Common\Collections\ArrayCollection; use App\Entity\Attribut\MembershipsAttribut; -use App\Entity\Source\Collection\TreeCollectionSourceInterface; +use App\Entity\Source\Complex\Collection\TreeCollectionSourceInterface; /** * @author kevinfrantz @@ -23,7 +23,7 @@ use App\Entity\Source\Collection\TreeCollectionSourceInterface; * @ORM\Table(name="source") * @ORM\InheritanceType("JOINED") * @ORM\DiscriminatorColumn(name="discr", type="string") - * @ORM\DiscriminatorMap({"primitive" = "App\Entity\Source\Primitive\AbstractPrimitiveSource", "collection" = "App\Entity\Source\Collection\AbstractCollectionSource","operation"="App\Entity\Source\Operation\AbstractOperation"}) + * @ORM\DiscriminatorMap({"primitive" = "App\Entity\Source\Primitive\AbstractPrimitiveSource", "collection" = "App\Entity\Source\Complex\Collection\AbstractCollectionSource","operation"="App\Entity\Source\Operation\AbstractOperation"}) */ abstract class AbstractSource extends AbstractEntity implements SourceInterface { @@ -42,7 +42,7 @@ abstract class AbstractSource extends AbstractEntity implements SourceInterface * @todo Rename table to use the right schema * * @var Collection|TreeCollectionSourceInterface[] - * @ORM\ManyToMany(targetEntity="App\Entity\Source\Collection\TreeCollectionSource",mappedBy="collection") + * @ORM\ManyToMany(targetEntity="App\Entity\Source\Complex\Collection\TreeCollectionSource",mappedBy="collection") */ protected $memberships; diff --git a/application/src/Entity/Source/Collection/AbstractCollectionSource.php b/application/src/Entity/Source/Complex/Collection/AbstractCollectionSource.php similarity index 95% rename from application/src/Entity/Source/Collection/AbstractCollectionSource.php rename to application/src/Entity/Source/Complex/Collection/AbstractCollectionSource.php index dfafae4..e4a19a1 100644 --- a/application/src/Entity/Source/Collection/AbstractCollectionSource.php +++ b/application/src/Entity/Source/Complex/Collection/AbstractCollectionSource.php @@ -1,6 +1,6 @@