mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2024-12-04 23:17:19 +01:00
Renamed domain ParameterManagement to PArameter
This commit is contained in:
parent
5a4fe18dac
commit
2e4c105578
@ -5,7 +5,7 @@ namespace Infinito\Domain\Action\Create;
|
||||
use Infinito\Domain\SourceManagement\SourceClassInformationService;
|
||||
use Infinito\Entity\Source\AbstractSource;
|
||||
use Symfony\Component\Form\Form;
|
||||
use Infinito\Domain\ParameterManagement\Parameter\ClassParameter;
|
||||
use Infinito\Domain\Parameter\Parameter\ClassParameter;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\ParameterManagement;
|
||||
namespace Infinito\Domain\Parameter;
|
||||
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
@ -51,7 +51,7 @@ abstract class AbstractGetParameterService implements GetParameterServiceInterfa
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \Infinito\Domain\ParameterManagement\GetParameterServiceInterface::hasParameter()
|
||||
* @see \Infinito\Domain\Parameter\GetParameterServiceInterface::hasParameter()
|
||||
*/
|
||||
public function hasParameter(string $key): bool
|
||||
{
|
||||
@ -63,7 +63,7 @@ abstract class AbstractGetParameterService implements GetParameterServiceInterfa
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \Infinito\Domain\ParameterManagement\GetParameterServiceInterface::getParameter()
|
||||
* @see \Infinito\Domain\Parameter\GetParameterServiceInterface::getParameter()
|
||||
*/
|
||||
public function getParameter(string $key)
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\ParameterManagement;
|
||||
namespace Infinito\Domain\Parameter;
|
||||
|
||||
/**
|
||||
* This interface offers a service to manage all optional get parameters.
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\ParameterManagement\Parameter;
|
||||
namespace Infinito\Domain\Parameter\Parameter;
|
||||
|
||||
/**
|
||||
* Parameter classes shouldn't throw exceptions!
|
||||
@ -21,7 +21,7 @@ abstract class AbstractParameter implements ParameterInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \Infinito\Domain\ParameterManagement\Parameter\ParameterInterface::getValue()
|
||||
* @see \Infinito\Domain\Parameter\Parameter\ParameterInterface::getValue()
|
||||
*/
|
||||
public function getValue()
|
||||
{
|
||||
@ -31,7 +31,7 @@ abstract class AbstractParameter implements ParameterInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \Infinito\Domain\ParameterManagement\Parameter\ParameterInterface::setValue()
|
||||
* @see \Infinito\Domain\Parameter\Parameter\ParameterInterface::setValue()
|
||||
*/
|
||||
public function setValue($value): void
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\ParameterManagement\Parameter;
|
||||
namespace Infinito\Domain\Parameter\Parameter;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\ParameterManagement\Parameter;
|
||||
namespace Infinito\Domain\Parameter\Parameter;
|
||||
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
use Infinito\Exception\Validation\GetParameterInvalidException;
|
||||
@ -24,7 +24,7 @@ final class FrameParameter extends AbstractParameter
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \Infinito\Domain\ParameterManagement\Parameter\AbstractParameter::setValue()
|
||||
* @see \Infinito\Domain\Parameter\Parameter\AbstractParameter::setValue()
|
||||
*/
|
||||
public function setValue($value): void
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\ParameterManagement\Parameter;
|
||||
namespace Infinito\Domain\Parameter\Parameter;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\ParameterManagement\Parameter;
|
||||
namespace Infinito\Domain\Parameter\Parameter;
|
||||
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\ParameterManagement\Parameter;
|
||||
namespace Infinito\Domain\Parameter\Parameter;
|
||||
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\ParameterManagement;
|
||||
namespace Infinito\Domain\Parameter;
|
||||
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
use HaydenPierce\ClassFinder\ClassFinder;
|
||||
use Infinito\Domain\ParameterManagement\Parameter\ParameterInterface;
|
||||
use Infinito\Domain\Parameter\Parameter\ParameterInterface;
|
||||
use Infinito\Exception\Core\NotImplementedCoreException;
|
||||
|
||||
/**
|
||||
@ -16,7 +16,7 @@ final class ParameterFactory implements ParameterFactoryInterface
|
||||
/**
|
||||
* @var string Namespace under which the parameters are stored
|
||||
*/
|
||||
private const PARAMETER_NAMESPACE = 'Infinito\Domain\ParameterManagement\Parameter';
|
||||
private const PARAMETER_NAMESPACE = 'Infinito\Domain\Parameter\Parameter';
|
||||
|
||||
/**
|
||||
* @var ArrayCollection|Collection|ParameterInterface[]
|
||||
@ -59,7 +59,7 @@ final class ParameterFactory implements ParameterFactoryInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \Infinito\Domain\ParameterManagement\ParameterFactoryInterface::getParameter()
|
||||
* @see \Infinito\Domain\Parameter\ParameterFactoryInterface::getParameter()
|
||||
*/
|
||||
public function getParameter(string $key): ParameterInterface
|
||||
{
|
||||
@ -73,7 +73,7 @@ final class ParameterFactory implements ParameterFactoryInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* @see \Infinito\Domain\ParameterManagement\ParameterFactoryInterface::getAllParameters()
|
||||
* @see \Infinito\Domain\Parameter\ParameterFactoryInterface::getAllParameters()
|
||||
*/
|
||||
public function getAllParameters(): Collection
|
||||
{
|
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\ParameterManagement;
|
||||
namespace Infinito\Domain\Parameter;
|
||||
|
||||
use Infinito\Domain\ParameterManagement\Parameter\ParameterInterface;
|
||||
use Infinito\Domain\Parameter\Parameter\ParameterInterface;
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
|
||||
/**
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\ParameterManagement;
|
||||
namespace Infinito\Domain\Parameter;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Infinito\Domain\ParameterManagement;
|
||||
namespace Infinito\Domain\Parameter;
|
||||
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
use Symfony\Component\Validator\Validator\ValidatorInterface;
|
@ -7,7 +7,7 @@ use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerServiceInterface
|
||||
use Infinito\Domain\Action\ActionHandlerServiceInterface;
|
||||
use Infinito\Entity\Source\Primitive\Text\TextSource;
|
||||
use Infinito\Domain\DataAccessManagement\ActionsResultsDAOServiceInterface;
|
||||
use Infinito\Domain\ParameterManagement\ValidGetParameterServiceInterface;
|
||||
use Infinito\Domain\Parameter\ValidGetParameterServiceInterface;
|
||||
use Symfony\Component\Finder\Exception\AccessDeniedException;
|
||||
|
||||
/**
|
||||
|
@ -5,8 +5,8 @@ namespace Infinito\Domain\ViewManagement;
|
||||
use FOS\RestBundle\View\View;
|
||||
use Infinito\Domain\Action\ActionFactoryServiceInterface;
|
||||
use Infinito\Domain\TemplateManagement\TemplateNameServiceInterface;
|
||||
use Infinito\Domain\ParameterManagement\ValidGetParameterServiceInterface;
|
||||
use Infinito\Domain\ParameterManagement\Parameter\FrameParameter;
|
||||
use Infinito\Domain\Parameter\ValidGetParameterServiceInterface;
|
||||
use Infinito\Domain\Parameter\Parameter\FrameParameter;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace tests\Integration\Domain\ParameterManagement\Parameter;
|
||||
namespace tests\Integration\Domain\Parameter\Parameter;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Symfony\Component\Validator\Validator\ValidatorInterface;
|
||||
use Infinito\Domain\ParameterManagement\Parameter\VersionParameter;
|
||||
use Infinito\Domain\Parameter\Parameter\VersionParameter;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace tests\Integration\Domain\ParameterManagement\Parameter;
|
||||
namespace tests\Integration\Domain\Parameter\Parameter;
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Symfony\Component\Validator\Validator\ValidatorInterface;
|
||||
use Infinito\Domain\ParameterManagement\Parameter\ViewParameter;
|
||||
use Infinito\Domain\Parameter\Parameter\ViewParameter;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
|
||||
/**
|
@ -1,16 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace tests\Integration\Domain\ParameterManagement;
|
||||
namespace tests\Integration\Domain\Parameter;
|
||||
|
||||
use Infinito\Domain\ParameterManagement\ParameterFactory;
|
||||
use Infinito\Domain\ParameterManagement\ValidGetParametersService;
|
||||
use Infinito\Domain\Parameter\ParameterFactory;
|
||||
use Infinito\Domain\Parameter\ValidGetParametersService;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
use Symfony\Component\Validator\Validator\ValidatorInterface;
|
||||
use Infinito\Domain\ParameterManagement\ValidGetParameterServiceInterface;
|
||||
use Infinito\Domain\ParameterManagement\Parameter\VersionParameter;
|
||||
use Infinito\Domain\ParameterManagement\ParameterFactoryInterface;
|
||||
use Infinito\Domain\Parameter\ValidGetParameterServiceInterface;
|
||||
use Infinito\Domain\Parameter\Parameter\VersionParameter;
|
||||
use Infinito\Domain\Parameter\ParameterFactoryInterface;
|
||||
use Infinito\Exception\Validation\GetParameterInvalidException;
|
||||
use Infinito\Exception\Collection\NotSetElementException;
|
||||
use Infinito\Exception\Core\NotImplementedCoreException;
|
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace tests\Unit\Domain\ParameterManagement\Parameter;
|
||||
namespace tests\Unit\Domain\Parameter\Parameter;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\ParameterManagement\Parameter\VersionParameter;
|
||||
use Infinito\Domain\Parameter\Parameter\VersionParameter;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
@ -1,9 +1,9 @@
|
||||
<?php
|
||||
|
||||
namespace tests\Unit\Domain\ParameterManagement\Parameter;
|
||||
namespace tests\Unit\Domain\Parameter\Parameter;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\ParameterManagement\Parameter\ViewParameter;
|
||||
use Infinito\Domain\Parameter\Parameter\ViewParameter;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
|
||||
/**
|
@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace tests\Unit\Domain\ParameterManagement;
|
||||
namespace tests\Unit\Domain\Parameter;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Infinito\Domain\ParameterManagement\ParameterFactory;
|
||||
use Infinito\Domain\ParameterManagement\Parameter\VersionParameter;
|
||||
use Infinito\Domain\Parameter\ParameterFactory;
|
||||
use Infinito\Domain\Parameter\Parameter\VersionParameter;
|
||||
use Infinito\Exception\Core\NotImplementedCoreException;
|
||||
|
||||
/**
|
@ -1,16 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace tests\Unit\Domain\ParameterManagement;
|
||||
namespace tests\Unit\Domain\Parameter;
|
||||
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\RequestStack;
|
||||
use Infinito\Domain\ParameterManagement\Parameter\VersionParameter;
|
||||
use Infinito\Domain\ParameterManagement\ParameterFactory;
|
||||
use Infinito\Domain\ParameterManagement\ValidGetParametersService;
|
||||
use Infinito\Domain\Parameter\Parameter\VersionParameter;
|
||||
use Infinito\Domain\Parameter\ParameterFactory;
|
||||
use Infinito\Domain\Parameter\ValidGetParametersService;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
|
||||
use Symfony\Component\Validator\Validator\ValidatorInterface;
|
||||
use Infinito\Domain\ParameterManagement\ValidGetParameterServiceInterface;
|
||||
use Infinito\Domain\ParameterManagement\Parameter\ViewParameter;
|
||||
use Infinito\Domain\Parameter\ValidGetParameterServiceInterface;
|
||||
use Infinito\Domain\Parameter\Parameter\ViewParameter;
|
||||
use Infinito\DBAL\Types\ActionType;
|
||||
use Infinito\Exception\Collection\NotSetElementException;
|
||||
use Infinito\Exception\Core\NotImplementedCoreException;
|
Loading…
Reference in New Issue
Block a user