Moved collections to complex

This commit is contained in:
Kevin Frantz
2018-11-22 20:50:05 +01:00
parent e702e356a0
commit e63b265ee4
12 changed files with 17 additions and 17 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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;

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Entity\Source\Collection;
namespace App\Entity\Source\Complex\Collection;
use App\Entity\Source\AbstractSource;
use App\Entity\Attribut\CollectionAttribut;

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Entity\Source\Collection;
namespace App\Entity\Source\Complex\Collection;
use App\Entity\Source\SourceInterface;
use App\Entity\Attribut\CollectionAttributInterface;

View File

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

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Entity\Source\Collection;
namespace App\Entity\Source\Complex\Collection;
/**
* @author kevinfrantz