mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Removed logic from persistence layer
This commit is contained in:
@@ -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;
|
||||
}
|
@@ -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;
|
||||
}
|
||||
|
@@ -2,11 +2,9 @@
|
||||
|
||||
namespace App\Entity\Source\Collection;
|
||||
|
||||
use App\Helper\DimensionHelperInterface;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*/
|
||||
interface TreeCollectionSourceInterface extends CollectionSourceInterface, DimensionHelperInterface
|
||||
interface TreeCollectionSourceInterface extends CollectionSourceInterface
|
||||
{
|
||||
}
|
||||
|
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user