mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Changed App namespace to Infinito namespace
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\RightManagement;
|
||||
namespace Infinito\Domain\RightManagement;
|
||||
|
||||
use App\Entity\Meta\RightInterface;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use App\Entity\Source\SourceInterface;
|
||||
use App\Domain\SourceManagement\SourceMemberInformation;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
use Infinito\Domain\SourceManagement\SourceMemberInformation;
|
||||
|
||||
/**
|
||||
* @todo Implement the check of conditions!
|
||||
@@ -100,7 +100,7 @@ final class RightChecker implements RightCheckerInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \App\Domain\RightManagement\RightCheckerInterface::isGranted()
|
||||
* @see \Infinito\Domain\RightManagement\RightCheckerInterface::isGranted()
|
||||
*/
|
||||
public function isGranted(string $layer, string $type, SourceInterface $source): bool
|
||||
{
|
||||
|
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\RightManagement;
|
||||
namespace Infinito\Domain\RightManagement;
|
||||
|
||||
use App\Entity\Source\SourceInterface;
|
||||
use Infinito\Entity\Source\SourceInterface;
|
||||
|
||||
/**
|
||||
* Checks if the crud, layer and source combination is granted by a right.
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\RightManagement;
|
||||
namespace Infinito\Domain\RightManagement;
|
||||
|
||||
use App\DBAL\Types\Meta\Right\LayerType;
|
||||
use App\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
@@ -62,7 +62,7 @@ final class RightLayerCombinationService implements RightLayerCombinationService
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \App\Domain\RightManagement\RightLayerCombinationServiceInterface::getPossibleCruds()
|
||||
* @see \Infinito\Domain\RightManagement\RightLayerCombinationServiceInterface::getPossibleCruds()
|
||||
*/
|
||||
public function getPossibleCruds(string $layer): array
|
||||
{
|
||||
@@ -72,7 +72,7 @@ final class RightLayerCombinationService implements RightLayerCombinationService
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \App\Domain\RightManagement\RightLayerCombinationServiceInterface::getPossibleLayers()
|
||||
* @see \Infinito\Domain\RightManagement\RightLayerCombinationServiceInterface::getPossibleLayers()
|
||||
*/
|
||||
public function getPossibleLayers(string $crudType): array
|
||||
{
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\RightManagement;
|
||||
namespace Infinito\Domain\RightManagement;
|
||||
|
||||
use App\DBAL\Types\Meta\Right\LayerType;
|
||||
use App\DBAL\Types\Meta\Right\CRUDType;
|
||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||
use Infinito\DBAL\Types\Meta\Right\CRUDType;
|
||||
|
||||
/**
|
||||
* Allows to get the possible cruds for a layer, or the possible layers for a crud.
|
||||
|
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\RightManagement;
|
||||
namespace Infinito\Domain\RightManagement;
|
||||
|
||||
use App\Entity\Meta\RightInterface;
|
||||
use App\Domain\RequestManagement\Right\RequestedRightInterface;
|
||||
use App\Entity\Meta\Right;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
|
||||
use Infinito\Entity\Meta\Right;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
@@ -132,7 +132,7 @@ final class RightTransformerService implements RightTransformerServiceInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \App\Domain\RightManagement\RightTransformerServiceInterface::transform()
|
||||
* @see \Infinito\Domain\RightManagement\RightTransformerServiceInterface::transform()
|
||||
*/
|
||||
public function transform(RequestedRightInterface $requestedRight): RightInterface
|
||||
{
|
||||
|
@@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\RightManagement;
|
||||
namespace Infinito\Domain\RightManagement;
|
||||
|
||||
use App\Entity\Meta\RightInterface;
|
||||
use App\Domain\RequestManagement\Right\RequestedRightInterface;
|
||||
use Infinito\Entity\Meta\RightInterface;
|
||||
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
|
||||
|
||||
/**
|
||||
* Allows to transform an Requested Right to a Entity Right.
|
||||
|
Reference in New Issue
Block a user