Renamed domain RightManagement to Right

This commit is contained in:
Kevin Frantz 2019-05-30 16:55:08 +02:00
parent b8029bb7cc
commit e9110622db
16 changed files with 24 additions and 24 deletions

View File

@ -7,7 +7,7 @@ use Doctrine\Common\Collections\ArrayCollection;
use Infinito\Entity\Meta\RightInterface; use Infinito\Entity\Meta\RightInterface;
use Doctrine\Common\Collections\Collection; use Doctrine\Common\Collections\Collection;
use Infinito\Entity\Meta\LawInterface; use Infinito\Entity\Meta\LawInterface;
use Infinito\Domain\RightManagement\RightChecker; use Infinito\Domain\Right\RightChecker;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\SourceManagement\SourceMemberInformation; use Infinito\Domain\SourceManagement\SourceMemberInformation;
use Infinito\Domain\Method\MethodPrefixType; use Infinito\Domain\Method\MethodPrefixType;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Infinito\Domain\RightManagement; namespace Infinito\Domain\Right;
use Infinito\Entity\Meta\RightInterface; use Infinito\Entity\Meta\RightInterface;
use Doctrine\Common\Collections\Collection; use Doctrine\Common\Collections\Collection;
@ -100,7 +100,7 @@ final class RightChecker implements RightCheckerInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @see \Infinito\Domain\RightManagement\RightCheckerInterface::isGranted() * @see \Infinito\Domain\Right\RightCheckerInterface::isGranted()
*/ */
public function isGranted(string $layer, string $type, SourceInterface $source): bool public function isGranted(string $layer, string $type, SourceInterface $source): bool
{ {

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Infinito\Domain\RightManagement; namespace Infinito\Domain\Right;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Infinito\Domain\RightManagement; namespace Infinito\Domain\Right;
use Infinito\DBAL\Types\Meta\Right\LayerType; use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\DBAL\Types\Meta\Right\CRUDType; use Infinito\DBAL\Types\Meta\Right\CRUDType;
@ -62,7 +62,7 @@ final class RightLayerCombinationService implements RightLayerCombinationService
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @see \Infinito\Domain\RightManagement\RightLayerCombinationServiceInterface::getPossibleCruds() * @see \Infinito\Domain\Right\RightLayerCombinationServiceInterface::getPossibleCruds()
*/ */
public function getPossibleCruds(string $layer): array public function getPossibleCruds(string $layer): array
{ {
@ -72,7 +72,7 @@ final class RightLayerCombinationService implements RightLayerCombinationService
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @see \Infinito\Domain\RightManagement\RightLayerCombinationServiceInterface::getPossibleLayers() * @see \Infinito\Domain\Right\RightLayerCombinationServiceInterface::getPossibleLayers()
*/ */
public function getPossibleLayers(string $crudType): array public function getPossibleLayers(string $crudType): array
{ {

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Infinito\Domain\RightManagement; namespace Infinito\Domain\Right;
use Infinito\DBAL\Types\Meta\Right\LayerType; use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\DBAL\Types\Meta\Right\CRUDType; use Infinito\DBAL\Types\Meta\Right\CRUDType;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Infinito\Domain\RightManagement; namespace Infinito\Domain\Right;
use Infinito\Entity\Meta\RightInterface; use Infinito\Entity\Meta\RightInterface;
use Infinito\Domain\Request\Right\RequestedRightInterface; use Infinito\Domain\Request\Right\RequestedRightInterface;
@ -118,7 +118,7 @@ final class RightTransformerService implements RightTransformerServiceInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @see \Infinito\Domain\RightManagement\RightTransformerServiceInterface::transform() * @see \Infinito\Domain\Right\RightTransformerServiceInterface::transform()
*/ */
public function transform(RequestedRightInterface $requestedRight): RightInterface public function transform(RequestedRightInterface $requestedRight): RightInterface
{ {

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Infinito\Domain\RightManagement; namespace Infinito\Domain\Right;
use Infinito\Entity\Meta\RightInterface; use Infinito\Entity\Meta\RightInterface;
use Infinito\Domain\Request\Right\RequestedRightInterface; use Infinito\Domain\Request\Right\RequestedRightInterface;

View File

@ -4,7 +4,7 @@ namespace Infinito\Domain\SecureManagement;
use Infinito\Domain\Request\Right\RequestedRightInterface; use Infinito\Domain\Request\Right\RequestedRightInterface;
use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\EntityManagerInterface;
use Infinito\Domain\RightManagement\RightTransformerServiceInterface; use Infinito\Domain\Right\RightTransformerServiceInterface;
/** /**
* @author kevinfrantz * @author kevinfrantz

View File

@ -24,7 +24,7 @@ use Infinito\Entity\Source\PureSource;
use Infinito\Attribut\ClassAttributInterface; use Infinito\Attribut\ClassAttributInterface;
use Infinito\Domain\Repository\LayerRepositoryFactoryService; use Infinito\Domain\Repository\LayerRepositoryFactoryService;
use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerService; use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerService;
use Infinito\Domain\RightManagement\RightTransformerService; use Infinito\Domain\Right\RightTransformerService;
/** /**
* @todo Implement test and logic!!!!! * @todo Implement test and logic!!!!!

View File

@ -1,6 +1,6 @@
<?php <?php
namespace tests\Unit\Domain\RightManagement\User; namespace tests\Unit\Domain\Right\User;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Infinito\Entity\User; use Infinito\Entity\User;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace tests\Unit\Domain\RightManagement\User; namespace tests\Unit\Domain\Right\User;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Infinito\Entity\User; use Infinito\Entity\User;

View File

@ -1,14 +1,14 @@
<?php <?php
namespace Tests\Unit\Domain\RightManagement; namespace Tests\Unit\Domain\Right;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Infinito\Entity\Meta\RightInterface; use Infinito\Entity\Meta\RightInterface;
use Infinito\Entity\Meta\Right; use Infinito\Entity\Meta\Right;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;
use Infinito\DBAL\Types\Meta\Right\LayerType; use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\Domain\RightManagement\RightCheckerInterface; use Infinito\Domain\Right\RightCheckerInterface;
use Infinito\Domain\RightManagement\RightChecker; use Infinito\Domain\Right\RightChecker;
use Infinito\DBAL\Types\Meta\Right\CRUDType; use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\Entity\Source\PureSource; use Infinito\Entity\Source\PureSource;

View File

@ -1,10 +1,10 @@
<?php <?php
namespace tests\Unit\Domain\RightManagement; namespace tests\Unit\Domain\Right;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Infinito\Domain\RightManagement\RightLayerCombinationServiceInterface; use Infinito\Domain\Right\RightLayerCombinationServiceInterface;
use Infinito\Domain\RightManagement\RightLayerCombinationService; use Infinito\Domain\Right\RightLayerCombinationService;
use Infinito\DBAL\Types\Meta\Right\CRUDType; use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\DBAL\Types\Meta\Right\LayerType; use Infinito\DBAL\Types\Meta\Right\LayerType;

View File

@ -1,13 +1,13 @@
<?php <?php
namespace tests\Unit\Domain\RightManagement; namespace tests\Unit\Domain\Right;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Infinito\Domain\Request\Right\RequestedRight; use Infinito\Domain\Request\Right\RequestedRight;
use Infinito\DBAL\Types\Meta\Right\CRUDType; use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\DBAL\Types\Meta\Right\LayerType; use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\RightManagement\RightTransformerService; use Infinito\Domain\Right\RightTransformerService;
use Infinito\Domain\Request\Entity\RequestedEntityInterface; use Infinito\Domain\Request\Entity\RequestedEntityInterface;
/** /**

View File

@ -10,7 +10,7 @@ use Infinito\Entity\Meta\Right;
use Infinito\Domain\Request\Right\RequestedRight; use Infinito\Domain\Request\Right\RequestedRight;
use Infinito\Domain\Request\Entity\RequestedEntityInterface; use Infinito\Domain\Request\Entity\RequestedEntityInterface;
use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerService; use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerService;
use Infinito\Domain\RightManagement\RightTransformerService; use Infinito\Domain\Right\RightTransformerService;
use Infinito\Domain\Request\Right\RequestedRightInterface; use Infinito\Domain\Request\Right\RequestedRightInterface;
/** /**