mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Optimized RequestManagement and pushed code coverage for it to 100%
This commit is contained in:
@@ -5,6 +5,8 @@ namespace App\Domain\LayerManagement;
|
||||
use App\DBAL\Types\Meta\Right\LayerType;
|
||||
use App\Entity\Source\AbstractSource;
|
||||
use App\Exception\NotSetException;
|
||||
use App\Entity\Meta\Law;
|
||||
use App\Entity\Meta\Right;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
@@ -13,6 +15,8 @@ final class LayerClassMap implements LayerClassMapInterface
|
||||
{
|
||||
const LAYER_CLASS_MAP = [
|
||||
LayerType::SOURCE => AbstractSource::class,
|
||||
LayerType::LAW => Law::class,
|
||||
LayerType::RIGHT => Right::class,
|
||||
];
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user