Removed logic from persistence layer

This commit is contained in:
Kevin Frantz
2018-11-06 20:30:36 +01:00
parent 1fa93e577a
commit 43761e472f
16 changed files with 7 additions and 241 deletions

View File

@@ -1,18 +0,0 @@
<?php
namespace App\Entity\Source\Collection\Queue;
use App\Entity\Source\Collection\CollectionSourceInterface;
use App\Entity\Source\SourceInterface;
/**
* @todo Implement integration test for two user accessing queue! Check if log works!
*
* @author kevinfrantz
*/
interface QueueSourceInterface extends CollectionSourceInterface
{
public function getPointerPosition(): int;
public function getNextElement(): SourceInterface;
}

View File

@@ -3,8 +3,6 @@
namespace App\Entity\Source\Collection;
use Doctrine\ORM\Mapping as ORM;
use App\Entity\Attribut\MembersAttribut;
use App\Entity\Method\CollectionDimensionHelperMethod;
use App\Entity\Attribut\CollectionAttribut;
/**
@@ -17,5 +15,4 @@ use App\Entity\Attribut\CollectionAttribut;
class TreeCollectionSource extends AbstractCollectionSource implements TreeCollectionSourceInterface
{
use CollectionAttribut;
use CollectionDimensionHelperMethod;
}

View File

@@ -2,11 +2,9 @@
namespace App\Entity\Source\Collection;
use App\Helper\DimensionHelperInterface;
/**
* @author kevinfrantz
*/
interface TreeCollectionSourceInterface extends CollectionSourceInterface, DimensionHelperInterface
interface TreeCollectionSourceInterface extends CollectionSourceInterface
{
}

View File

@@ -11,6 +11,8 @@ use App\Exception\NotDefinedException;
* @author kevinfrantz
* @ORM\Table(name="source_operation_and")
* @ORM\Entity()
*
* @todo move to the logic level!
*/
final class AndOperation extends AbstractOperation
{