Changed App namespace to Infinito namespace

This commit is contained in:
Kevin Frantz
2019-02-17 14:33:19 +01:00
parent bf5d11a318
commit 493471df5f
424 changed files with 1488 additions and 1500 deletions

View File

@@ -1,10 +1,10 @@
<?php
namespace App\Domain\ActionManagement;
namespace Infinito\Domain\ActionManagement;
use App\Entity\EntityInterface;
use App\Exception\NotSecureException;
use App\Exception\NotValidByFormException;
use Infinito\Entity\EntityInterface;
use Infinito\Exception\NotSecureException;
use Infinito\Exception\NotValidByFormException;
/**
* @author kevinfrantz
@@ -41,7 +41,7 @@ abstract class AbstractAction extends AbstractActionConstructor implements Actio
*
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\ActionInterface::execute()
* @see \Infinito\Domain\ActionManagement\ActionInterface::execute()
*/
final public function execute()
{

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\ActionManagement;
namespace Infinito\Domain\ActionManagement;
/**
* This class just containes the constructor

View File

@@ -1,15 +1,15 @@
<?php
namespace App\Domain\ActionManagement;
namespace Infinito\Domain\ActionManagement;
use App\Exception\NoDefaultClassException;
use Infinito\Exception\NoDefaultClassException;
/**
* @author kevinfrantz
*/
final class ActionFactoryService extends AbstractActionConstructor implements ActionFactoryServiceInterface
{
const BASE_NAMESPACE = 'App\\Domain\\ActionManagement\\';
const BASE_NAMESPACE = 'Infinito\\Domain\\ActionManagement\\';
const CLASS_SUFFIX = 'Action';
@@ -67,7 +67,7 @@ final class ActionFactoryService extends AbstractActionConstructor implements Ac
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\ActionFactoryServiceInterface::create()
* @see \Infinito\Domain\ActionManagement\ActionFactoryServiceInterface::create()
*/
public function create(): ActionInterface
{

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\ActionManagement;
namespace Infinito\Domain\ActionManagement;
/**
* Offers a function to create an action object by the RequestedActionService.

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\ActionManagement;
namespace Infinito\Domain\ActionManagement;
/**
* @author kevinfrantz
@@ -23,7 +23,7 @@ final class ActionHandlerService implements ActionHandlerServiceInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\ActionHandlerServiceInterface::handle()
* @see \Infinito\Domain\ActionManagement\ActionHandlerServiceInterface::handle()
*/
public function handle()
{

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\ActionManagement;
namespace Infinito\Domain\ActionManagement;
use App\Entity\EntityInterface;
use Infinito\Entity\EntityInterface;
/**
* @author kevinfrantz

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\ActionManagement;
namespace Infinito\Domain\ActionManagement;
use App\Entity\EntityInterface;
use Infinito\Entity\EntityInterface;
/**
* @author kevinfrantz

View File

@@ -1,17 +1,17 @@
<?php
namespace App\Domain\ActionManagement;
namespace Infinito\Domain\ActionManagement;
use App\Domain\RequestManagement\Action\RequestedActionInterface;
use App\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use Infinito\Domain\RequestManagement\Action\RequestedActionInterface;
use Infinito\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RequestStack;
use App\Repository\RepositoryInterface;
use Infinito\Repository\RepositoryInterface;
use Symfony\Component\Form\FormBuilderInterface;
use Doctrine\ORM\EntityManagerInterface;
use App\Domain\FormManagement\RequestedActionFormBuilderServiceInterface;
use App\Domain\RequestManagement\Action\RequestedActionServiceInterface;
use App\Domain\SecureManagement\SecureRequestedRightCheckerServiceInterface;
use Infinito\Domain\FormManagement\RequestedActionFormBuilderServiceInterface;
use Infinito\Domain\RequestManagement\Action\RequestedActionServiceInterface;
use Infinito\Domain\SecureManagement\SecureRequestedRightCheckerServiceInterface;
/**
* @author kevinfrantz
@@ -64,7 +64,7 @@ final class ActionService implements ActionServiceInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\ActionServiceInterface::getRequestedAction()
* @see \Infinito\Domain\ActionManagement\ActionServiceInterface::getRequestedAction()
*/
public function getRequestedAction(): RequestedActionInterface
{
@@ -74,7 +74,7 @@ final class ActionService implements ActionServiceInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\ActionServiceInterface::isRequestedActionSecure()
* @see \Infinito\Domain\ActionManagement\ActionServiceInterface::isRequestedActionSecure()
*/
public function isRequestedActionSecure(): bool
{
@@ -92,7 +92,7 @@ final class ActionService implements ActionServiceInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\ActionServiceInterface::getRequest()
* @see \Infinito\Domain\ActionManagement\ActionServiceInterface::getRequest()
*/
public function getRequest(): Request
{
@@ -100,9 +100,9 @@ final class ActionService implements ActionServiceInterface
}
/**
* {@use App\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;inheritDoc}.
* {@use Infinito\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;inheritDoc}.
*
* @see \App\Domain\ActionManagement\ActionServiceInterface::getRepository()
* @see \Infinito\Domain\ActionManagement\ActionServiceInterface::getRepository()
*/
public function getRepository(): RepositoryInterface
{
@@ -114,7 +114,7 @@ final class ActionService implements ActionServiceInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\ActionServiceInterface::getEntityManager()
* @see \Infinito\Domain\ActionManagement\ActionServiceInterface::getEntityManager()
*/
public function getEntityManager(): EntityManagerInterface
{

View File

@@ -1,10 +1,10 @@
<?php
namespace App\Domain\ActionManagement;
namespace Infinito\Domain\ActionManagement;
use App\Domain\RequestManagement\Action\RequestedActionInterface;
use Infinito\Domain\RequestManagement\Action\RequestedActionInterface;
use Symfony\Component\HttpFoundation\Request;
use App\Repository\RepositoryInterface;
use Infinito\Repository\RepositoryInterface;
use Symfony\Component\Form\FormBuilderInterface;
use Doctrine\ORM\EntityManagerInterface;

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\ActionManagement\Create;
namespace Infinito\Domain\ActionManagement\Create;
use App\Domain\ActionManagement\AbstractAction;
use Infinito\Domain\ActionManagement\AbstractAction;
/**
* @author kevinfrantz
@@ -13,7 +13,7 @@ abstract class AbstractCreateAction extends AbstractAction implements CreateActi
* In general everybody should be allowed to create everything!
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::isSecure()
* @see \Infinito\Domain\ActionManagement\AbstractAction::isSecure()
*/
protected function isSecure(): bool
{

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\ActionManagement\Create;
namespace Infinito\Domain\ActionManagement\Create;
use App\Domain\ActionManagement\ActionInterface;
use Infinito\Domain\ActionManagement\ActionInterface;
/**
* @author kevinfrantz

View File

@@ -1,10 +1,10 @@
<?php
namespace App\Domain\ActionManagement\Create;
namespace Infinito\Domain\ActionManagement\Create;
use App\Domain\SourceManagement\SourceClassInformationService;
use App\Form\Source\SourceType;
use App\Entity\Source\AbstractSource;
use Infinito\Domain\SourceManagement\SourceClassInformationService;
use Infinito\Form\Source\SourceType;
use Infinito\Entity\Source\AbstractSource;
use Symfony\Component\Form\Form;
/**
@@ -53,7 +53,7 @@ final class CreateSourceAction extends AbstractCreateAction
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::prepare()
* @see \Infinito\Domain\ActionManagement\AbstractAction::prepare()
*/
protected function prepare(): void
{
@@ -66,7 +66,7 @@ final class CreateSourceAction extends AbstractCreateAction
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::isValid()
* @see \Infinito\Domain\ActionManagement\AbstractAction::isValid()
*/
protected function isValid(): bool
{
@@ -81,7 +81,7 @@ final class CreateSourceAction extends AbstractCreateAction
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::proccess()
* @see \Infinito\Domain\ActionManagement\AbstractAction::proccess()
*/
protected function proccess()
{

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\ActionManagement\Delete;
namespace Infinito\Domain\ActionManagement\Delete;
use App\Domain\ActionManagement\AbstractAction;
use Infinito\Domain\ActionManagement\AbstractAction;
/**
* @author kevinfrantz
@@ -13,7 +13,7 @@ final class DeleteAction extends AbstractAction
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::isSecure()
* @see \Infinito\Domain\ActionManagement\AbstractAction::isSecure()
*/
protected function isSecure(): bool
{
@@ -24,7 +24,7 @@ final class DeleteAction extends AbstractAction
* @todo Implement!
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::isValid()
* @see \Infinito\Domain\ActionManagement\AbstractAction::isValid()
*/
protected function isValid(): bool
{
@@ -34,7 +34,7 @@ final class DeleteAction extends AbstractAction
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::proccess()
* @see \Infinito\Domain\ActionManagement\AbstractAction::proccess()
*/
protected function proccess()
{

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\ActionManagement\Read;
namespace Infinito\Domain\ActionManagement\Read;
use App\Domain\ActionManagement\AbstractAction;
use Infinito\Domain\ActionManagement\AbstractAction;
/**
* @author kevinfrantz
@@ -12,7 +12,7 @@ final class ReadAction extends AbstractAction implements ReadActionInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::isSecure()
* @see \Infinito\Domain\ActionManagement\AbstractAction::isSecure()
*/
protected function isSecure(): bool
{
@@ -23,7 +23,7 @@ final class ReadAction extends AbstractAction implements ReadActionInterface
* @todo Implement!
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::isValid()
* @see \Infinito\Domain\ActionManagement\AbstractAction::isValid()
*/
protected function isValid(): bool
{
@@ -33,7 +33,7 @@ final class ReadAction extends AbstractAction implements ReadActionInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::proccess()
* @see \Infinito\Domain\ActionManagement\AbstractAction::proccess()
*/
protected function proccess()
{

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\ActionManagement\Read;
namespace Infinito\Domain\ActionManagement\Read;
use App\Domain\ActionManagement\ActionInterface;
use Infinito\Domain\ActionManagement\ActionInterface;
/**
* Needed for mocking with PHPUnit!

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\ActionManagement\Thread;
namespace Infinito\Domain\ActionManagement\Thread;
use App\Domain\ActionManagement\AbstractAction;
use Infinito\Domain\ActionManagement\AbstractAction;
/**
* @author kevinfrantz

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\ActionManagement\Thread;
namespace Infinito\Domain\ActionManagement\Thread;
/**
* @author kevinfrantz
@@ -10,7 +10,7 @@ final class ThreadSourceAction extends AbstractThreadAction
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::isSecure()
* @see \Infinito\Domain\ActionManagement\AbstractAction::isSecure()
*/
protected function isSecure(): bool
{
@@ -19,7 +19,7 @@ final class ThreadSourceAction extends AbstractThreadAction
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::isValid()
* @see \Infinito\Domain\ActionManagement\AbstractAction::isValid()
*/
protected function isValid(): bool
{
@@ -28,7 +28,7 @@ final class ThreadSourceAction extends AbstractThreadAction
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::proccess()
* @see \Infinito\Domain\ActionManagement\AbstractAction::proccess()
*/
protected function proccess()
{

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\ActionManagement\Update;
namespace Infinito\Domain\ActionManagement\Update;
use App\Domain\ActionManagement\AbstractAction;
use Infinito\Domain\ActionManagement\AbstractAction;
/**
* @author kevinfrantz

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\ActionManagement\Update;
namespace Infinito\Domain\ActionManagement\Update;
/**
* @author kevinfrantz
@@ -10,7 +10,7 @@ final class UpdateSourceAction extends AbstractUpdateAction
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::isSecure()
* @see \Infinito\Domain\ActionManagement\AbstractAction::isSecure()
*/
protected function isSecure(): bool
{
@@ -19,7 +19,7 @@ final class UpdateSourceAction extends AbstractUpdateAction
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::isValid()
* @see \Infinito\Domain\ActionManagement\AbstractAction::isValid()
*/
protected function isValid(): bool
{
@@ -28,7 +28,7 @@ final class UpdateSourceAction extends AbstractUpdateAction
/**
* {@inheritdoc}
*
* @see \App\Domain\ActionManagement\AbstractAction::proccess()
* @see \Infinito\Domain\ActionManagement\AbstractAction::proccess()
*/
protected function proccess()
{

View File

@@ -1,14 +1,14 @@
<?php
namespace App\Domain\EntityManagement;
namespace Infinito\Domain\EntityManagement;
use App\Domain\TemplateManagement\TemplatePathFormAndViewInterface;
use App\Entity\EntityInterface;
use App\Domain\TemplateManagement\TemplatePathFormAndView;
use App\Domain\FormManagement\FormMetaInformationInterface;
use App\Domain\FormManagement\FormMetaInformation;
use App\Domain\PathManagement\NamespacePathMapInterface;
use App\Domain\PathManagement\NamespacePathMap;
use Infinito\Domain\TemplateManagement\TemplatePathFormAndViewInterface;
use Infinito\Entity\EntityInterface;
use Infinito\Domain\TemplateManagement\TemplatePathFormAndView;
use Infinito\Domain\FormManagement\FormMetaInformationInterface;
use Infinito\Domain\FormManagement\FormMetaInformation;
use Infinito\Domain\PathManagement\NamespacePathMapInterface;
use Infinito\Domain\PathManagement\NamespacePathMap;
/**
* @author kevinfrantz
@@ -74,7 +74,7 @@ class EntityMetaInformation implements EntityMetaInformationInterface
private function setNamespacePathMap(): void
{
$namespace = $this->entityReflection->getNamespaceName();
$namespaceWithoutRoot = str_replace('App\\Entity\\', '', $namespace);
$namespaceWithoutRoot = str_replace('Infinito\\Entity\\', '', $namespace);
$this->namespacePathMap = new NamespacePathMap();
$this->namespacePathMap->setNamespace($namespaceWithoutRoot);
}
@@ -94,7 +94,7 @@ class EntityMetaInformation implements EntityMetaInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\EntityManagement\EntityMetaInformationInterface::getInterfaceReflection()
* @see \Infinito\Domain\EntityManagement\EntityMetaInformationInterface::getInterfaceReflection()
*/
public function getInterfaceReflection(): \ReflectionClass
{
@@ -104,7 +104,7 @@ class EntityMetaInformation implements EntityMetaInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\EntityManagement\EntityMetaInformationInterface::getPureName()
* @see \Infinito\Domain\EntityManagement\EntityMetaInformationInterface::getPureName()
*/
public function getPureName(): string
{
@@ -114,7 +114,7 @@ class EntityMetaInformation implements EntityMetaInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\EntityManagement\EntityMetaInformationInterface::getTemplatePathFormAndView()
* @see \Infinito\Domain\EntityManagement\EntityMetaInformationInterface::getTemplatePathFormAndView()
*/
public function getTemplatePathFormAndView(): TemplatePathFormAndViewInterface
{
@@ -124,7 +124,7 @@ class EntityMetaInformation implements EntityMetaInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\EntityManagement\EntityMetaInformationInterface::getEntity()
* @see \Infinito\Domain\EntityManagement\EntityMetaInformationInterface::getEntity()
*/
public function getEntity(): EntityInterface
{
@@ -134,7 +134,7 @@ class EntityMetaInformation implements EntityMetaInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\EntityManagement\EntityMetaInformationInterface::getEntityReflection()
* @see \Infinito\Domain\EntityManagement\EntityMetaInformationInterface::getEntityReflection()
*/
public function getEntityReflection(): \ReflectionClass
{
@@ -144,7 +144,7 @@ class EntityMetaInformation implements EntityMetaInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\EntityManagement\EntityMetaInformationInterface::getFormMetaInformation()
* @see \Infinito\Domain\EntityManagement\EntityMetaInformationInterface::getFormMetaInformation()
*/
public function getFormMetaInformation(): FormMetaInformationInterface
{
@@ -154,7 +154,7 @@ class EntityMetaInformation implements EntityMetaInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\EntityManagement\EntityMetaInformationInterface::getNamespacePathMap()
* @see \Infinito\Domain\EntityManagement\EntityMetaInformationInterface::getNamespacePathMap()
*/
public function getNamespacePathMap(): NamespacePathMapInterface
{

View File

@@ -1,12 +1,12 @@
<?php
namespace App\Domain\EntityManagement;
namespace Infinito\Domain\EntityManagement;
use App\Entity\EntityInterface;
use App\Domain\TemplateManagement\TemplatePathFormAndViewInterface;
use App\Domain\FormManagement\FormMetaInformationInterface;
use App\Domain\PathManagement\NamespacePathMap;
use App\Domain\PathManagement\NamespacePathMapInterface;
use Infinito\Entity\EntityInterface;
use Infinito\Domain\TemplateManagement\TemplatePathFormAndViewInterface;
use Infinito\Domain\FormManagement\FormMetaInformationInterface;
use Infinito\Domain\PathManagement\NamespacePathMap;
use Infinito\Domain\PathManagement\NamespacePathMapInterface;
/**
* Offers some meta information about an entity.

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\FixtureManagement\FixtureSource;
namespace Infinito\Domain\FixtureManagement\FixtureSource;
/**
* Classes which inhiere from this class and should be loaded by SourceFixtures MUST be declared as final.

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Domain\FixtureManagement\FixtureSource;
namespace Infinito\Domain\FixtureManagement\FixtureSource;
use App\Entity\Source\SourceInterface;
use App\Attribut\SlugAttributInterface;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Attribut\SlugAttributInterface;
/**
* This interface allows to save the configuration values of an fixture in a class.

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Domain\FixtureManagement\FixtureSource;
namespace Infinito\Domain\FixtureManagement\FixtureSource;
use App\Entity\Source\SourceInterface;
use App\Entity\Source\Complex\UserSource;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Entity\Source\Complex\UserSource;
/**
* This class containes the guest user.
@@ -17,7 +17,7 @@ final class GuestUserFixtureSource extends AbstractFixtureSource
/**
* {@inheritdoc}
*
* @see \App\Domain\FixtureManagement\FixtureSource\FixtureSourceInterface::getORMReadyObject()
* @see \Infinito\Domain\FixtureManagement\FixtureSource\FixtureSourceInterface::getORMReadyObject()
*/
public function getORMReadyObject(): SourceInterface
{

View File

@@ -1,12 +1,12 @@
<?php
namespace App\Domain\FixtureManagement\FixtureSource;
namespace Infinito\Domain\FixtureManagement\FixtureSource;
use App\Entity\Source\SourceInterface;
use App\Entity\Source\Primitive\Text\TextSource;
use App\Entity\Meta\Right;
use App\DBAL\Types\Meta\Right\LayerType;
use App\DBAL\Types\Meta\Right\CRUDType;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Entity\Source\Primitive\Text\TextSource;
use Infinito\Entity\Meta\Right;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\DBAL\Types\Meta\Right\CRUDType;
/**
* @author kevinfrantz
@@ -18,7 +18,7 @@ final class ImpressumFixtureSource extends AbstractFixtureSource
/**
* {@inheritdoc}
*
* @see \App\Domain\FixtureManagement\FixtureSource\FixtureSourceInterface::getORMReadyObject()
* @see \Infinito\Domain\FixtureManagement\FixtureSource\FixtureSourceInterface::getORMReadyObject()
*/
public function getORMReadyObject(): SourceInterface
{

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Domain\FixtureManagement;
namespace Infinito\Domain\FixtureManagement;
use HaydenPierce\ClassFinder\ClassFinder;
use App\Domain\FixtureManagement\FixtureSource\FixtureSourceInterface;
use Infinito\Domain\FixtureManagement\FixtureSource\FixtureSourceInterface;
/**
* @author kevinfrantz
@@ -13,7 +13,7 @@ final class FixtureSourceFactory implements FixtureSourceFactoryInterface
/**
* @var string Namespace in which the fixture sources are saved
*/
const FIXTURE_SOURCE_NAMESPACE = 'App\Domain\FixtureManagement\FixtureSource';
const FIXTURE_SOURCE_NAMESPACE = 'Infinito\Domain\FixtureManagement\FixtureSource';
/**
* @return array|FixtureSourceInterface[]

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\FixtureManagement;
namespace Infinito\Domain\FixtureManagement;
use App\Domain\FixtureManagement\FixtureSource\FixtureSourceInterface;
use Infinito\Domain\FixtureManagement\FixtureSource\FixtureSourceInterface;
/**
* Offers a Factory to produce sources.

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\FormManagement;
namespace Infinito\Domain\FormManagement;
/**
* @author kevinfrantz
@@ -10,12 +10,12 @@ final class FormClassNameService implements FormClassNameServiceInterface
/**
* @var string Folder in which the entities are stored
*/
const ENTITY_BASE_PATH = 'App\\Entity';
const ENTITY_BASE_PATH = 'Infinito\\Entity';
/**
* @var string Folder in which the forms are stored
*/
const FORM_BASE_PATH = 'App\\Form';
const FORM_BASE_PATH = 'Infinito\\Form';
/**
* @var string Suffix to identifie form classes
@@ -25,7 +25,7 @@ final class FormClassNameService implements FormClassNameServiceInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\FormManagement\FormClassNameServiceInterface::getClass()
* @see \Infinito\Domain\FormManagement\FormClassNameServiceInterface::getClass()
*/
public function getClass(string $origineClass, string $type = ''): string
{

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\FormManagement;
namespace Infinito\Domain\FormManagement;
use App\Entity\EntityInterface;
use Infinito\Entity\EntityInterface;
/**
* @author kevinfrantz

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Domain\FormManagement;
namespace Infinito\Domain\FormManagement;
use App\Domain\TemplateManagement\TemplatePathInformationInterface;
use App\Domain\EntityManagement\EntityMetaInformationInterface;
use Infinito\Domain\TemplateManagement\TemplatePathInformationInterface;
use Infinito\Domain\EntityManagement\EntityMetaInformationInterface;
/**
* @author kevinfrantz
@@ -35,7 +35,7 @@ final class FormMetaInformation implements FormMetaInformationInterface
private function setFormClass(): void
{
$this->formClass = 'App\\Form';
$this->formClass = 'Infinito\\Form';
foreach ($this->entityMetaInformation->getNamespacePathMap()->getFolders() as $element) {
$this->formClass .= '\\'.ucfirst($element);
}
@@ -45,7 +45,7 @@ final class FormMetaInformation implements FormMetaInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\FormManagement\FormMetaInformationInterface::getFormClass()
* @see \Infinito\Domain\FormManagement\FormMetaInformationInterface::getFormClass()
*/
public function getFormClass(): string
{
@@ -55,7 +55,7 @@ final class FormMetaInformation implements FormMetaInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\FormManagement\FormMetaInformationInterface::getTemplatePathInformation()
* @see \Infinito\Domain\FormManagement\FormMetaInformationInterface::getTemplatePathInformation()
*/
public function getTemplatePathInformation(): TemplatePathInformationInterface
{

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\FormManagement;
namespace Infinito\Domain\FormManagement;
use App\Domain\TemplateManagement\TemplatePathInformationInterface;
use Infinito\Domain\TemplateManagement\TemplatePathInformationInterface;
/**
* @author kevinfrantz

View File

@@ -1,11 +1,11 @@
<?php
namespace App\Domain\FormManagement;
namespace Infinito\Domain\FormManagement;
use Symfony\Component\Form\FormBuilderInterface;
use App\Domain\RequestManagement\Action\RequestedActionInterface;
use Infinito\Domain\RequestManagement\Action\RequestedActionInterface;
use Symfony\Component\Form\FormFactoryInterface;
use App\Exception\NotSetException;
use Infinito\Exception\NotSetException;
/**
* @author kevinfrantz

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Domain\FormManagement;
namespace Infinito\Domain\FormManagement;
use Symfony\Component\Form\FormBuilderInterface;
use App\Domain\RequestManagement\Action\RequestedActionInterface;
use Infinito\Domain\RequestManagement\Action\RequestedActionInterface;
/**
* Allowes to create an form which fits to an entity.

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Domain\FormManagement;
namespace Infinito\Domain\FormManagement;
use Symfony\Component\Form\FormBuilderInterface;
use App\Domain\RequestManagement\Action\RequestedActionServiceInterface;
use Infinito\Domain\RequestManagement\Action\RequestedActionServiceInterface;
use Symfony\Component\Form\FormFactoryInterface;
/**
@@ -19,7 +19,7 @@ final class RequestedActionFormBuilderService extends RequestedActionFormBuilder
/**
* {@inheritdoc}
*
* @see \App\Domain\FormManagement\RequestedActionFormBuilder::__construct()
* @see \Infinito\Domain\FormManagement\RequestedActionFormBuilder::__construct()
*/
public function __construct(FormFactoryInterface $formFactory, FormClassNameServiceInterface $formClassNameService, RequestedActionServiceInterface $requestedActionService)
{
@@ -30,7 +30,7 @@ final class RequestedActionFormBuilderService extends RequestedActionFormBuilder
/**
* {@inheritdoc}
*
* @see \App\Domain\FormManagement\RequestedActionFormBuilderServiceInterface::createByRequestedActionService()
* @see \Infinito\Domain\FormManagement\RequestedActionFormBuilderServiceInterface::createByRequestedActionService()
*/
public function createByService(): FormBuilderInterface
{

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\FormManagement;
namespace Infinito\Domain\FormManagement;
use Symfony\Component\Form\FormBuilderInterface;

View File

@@ -1,15 +1,15 @@
<?php
namespace App\Domain\LawManagement;
namespace Infinito\Domain\LawManagement;
use PhpCollection\CollectionInterface;
use Doctrine\Common\Collections\ArrayCollection;
use App\Entity\Meta\RightInterface;
use Infinito\Entity\Meta\RightInterface;
use Doctrine\Common\Collections\Collection;
use App\Entity\Meta\LawInterface;
use App\Domain\RightManagement\RightChecker;
use App\Entity\Source\SourceInterface;
use App\Domain\SourceManagement\SourceMemberInformation;
use Infinito\Entity\Meta\LawInterface;
use Infinito\Domain\RightManagement\RightChecker;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\SourceManagement\SourceMemberInformation;
/**
* @todo Implement checking by operation sources
@@ -163,7 +163,7 @@ final class LawPermissionChecker implements LawPermissionCheckerInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\LawManagement\LawPermissionCheckerInterface::hasPermission()
* @see \Infinito\Domain\LawManagement\LawPermissionCheckerInterface::hasPermission()
*/
public function hasPermission(RightInterface $clientRight): bool
{

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\LawManagement;
namespace Infinito\Domain\LawManagement;
use App\Entity\Meta\RightInterface;
use Infinito\Entity\Meta\RightInterface;
/**
* Allows to check if a right has permission by a law.

View File

@@ -1,10 +1,10 @@
<?php
namespace App\Domain\LayerManagement;
namespace Infinito\Domain\LayerManagement;
use App\DBAL\Types\Meta\Right\LayerType;
use App\DBAL\Types\ActionType;
use App\Domain\MapManagement\AbstractMap;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\DBAL\Types\ActionType;
use Infinito\Domain\MapManagement\AbstractMap;
/**
* @author kevinfrantz
@@ -27,7 +27,7 @@ final class LayerActionMap extends AbstractMap implements LayerActionMapInterfac
/**
* {@inheritdoc}
*
* @see \App\Domain\LayerManagement\LayerActionMapInterface::getLayers()
* @see \Infinito\Domain\LayerManagement\LayerActionMapInterface::getLayers()
*/
public static function getLayers(string $action): array
{
@@ -37,7 +37,7 @@ final class LayerActionMap extends AbstractMap implements LayerActionMapInterfac
/**
* {@inheritdoc}
*
* @see \App\Domain\LayerManagement\LayerActionMapInterface::getActions()
* @see \Infinito\Domain\LayerManagement\LayerActionMapInterface::getActions()
*/
public static function getActions(string $layer): array
{

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\LayerManagement;
namespace Infinito\Domain\LayerManagement;
/**
* This LayerActionMap offers the possibility, to see which Action\Layer-Cobinations are possible.

View File

@@ -1,12 +1,12 @@
<?php
namespace App\Domain\LayerManagement;
namespace Infinito\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;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Infinito\Entity\Source\AbstractSource;
use Infinito\Exception\NotSetException;
use Infinito\Entity\Meta\Law;
use Infinito\Entity\Meta\Right;
/**
* @author kevinfrantz

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\LayerManagement;
namespace Infinito\Domain\LayerManagement;
/**
* @author kevinfrantz

View File

@@ -1,11 +1,11 @@
<?php
namespace App\Domain\MVCManagement;
namespace Infinito\Domain\MVCManagement;
use FOS\RestBundle\View\View;
use App\Entity\EntityInterface;
use App\Domain\ActionManagement\ActionHandlerServiceInterface;
use App\Domain\TemplateManagement\TemplateNameServiceInterface;
use Infinito\Entity\EntityInterface;
use Infinito\Domain\ActionManagement\ActionHandlerServiceInterface;
use Infinito\Domain\TemplateManagement\TemplateNameServiceInterface;
/**
* @author kevinfrantz
@@ -51,7 +51,7 @@ final class MVCRoutineService implements MVCRoutineServiceInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\MVCManagement\MVCRoutineServiceInterface::process()
* @see \Infinito\Domain\MVCManagement\MVCRoutineServiceInterface::process()
*/
public function process(): View
{
@@ -65,7 +65,7 @@ final class MVCRoutineService implements MVCRoutineServiceInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\MVCManagement\MVCRoutineServiceInterface::getView()
* @see \Infinito\Domain\MVCManagement\MVCRoutineServiceInterface::getView()
*/
public function getView(array $data): View
{

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\MVCManagement;
namespace Infinito\Domain\MVCManagement;
use FOS\RestBundle\View\View;

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\MapManagement;
namespace Infinito\Domain\MapManagement;
/**
* This class offers the basic functions for managing an 2 dimensional map.

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\MapManagement;
namespace Infinito\Domain\MapManagement;
use App\DBAL\Types\ActionType;
use Infinito\DBAL\Types\ActionType;
use Symfony\Component\HttpFoundation\Request;
/**

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\MapManagement;
namespace Infinito\Domain\MapManagement;
/**
* This class offers a map for ActionTypes to HttpMethods.

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\MapManagement;
namespace Infinito\Domain\MapManagement;
/**
* @author kevinfrantz

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\MemberManagement;
namespace Infinito\Domain\MemberManagement;
use App\Entity\Meta\Relation\Member\MemberRelationInterface;
use Infinito\Entity\Meta\Relation\Member\MemberRelationInterface;
/**
* Allows to add and remove members and memberships from member relations.

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\MemberManagement;
namespace Infinito\Domain\MemberManagement;
use App\Entity\Meta\Relation\Member\MemberRelationInterface;
use Infinito\Entity\Meta\Relation\Member\MemberRelationInterface;
interface MemberManagerInterface
{

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\PathManagement;
namespace Infinito\Domain\PathManagement;
/**
* @todo Be carefull with the case sensivity. Solve this!
@@ -27,7 +27,7 @@ final class NamespacePathMap implements NamespacePathMapInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\PathManagement\NamespacePathMapInterface::getNamespace()
* @see \Infinito\Domain\PathManagement\NamespacePathMapInterface::getNamespace()
*/
public function getNamespace(): string
{
@@ -37,7 +37,7 @@ final class NamespacePathMap implements NamespacePathMapInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\PathManagement\NamespacePathMapInterface::getPath()
* @see \Infinito\Domain\PathManagement\NamespacePathMapInterface::getPath()
*/
public function getPath(): string
{
@@ -47,7 +47,7 @@ final class NamespacePathMap implements NamespacePathMapInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\PathManagement\NamespacePathMapInterface::setPath()
* @see \Infinito\Domain\PathManagement\NamespacePathMapInterface::setPath()
*/
public function setPath(string $path): void
{
@@ -57,7 +57,7 @@ final class NamespacePathMap implements NamespacePathMapInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\PathManagement\NamespacePathMapInterface::setNamespace()
* @see \Infinito\Domain\PathManagement\NamespacePathMapInterface::setNamespace()
*/
public function setNamespace(string $namespace): void
{
@@ -68,7 +68,7 @@ final class NamespacePathMap implements NamespacePathMapInterface
* The strtolower function could lead to conflicts in other contextes
* {@inheritdoc}
*
* @see \App\Domain\PathManagement\NamespacePathMapInterface::setFolderArray()
* @see \Infinito\Domain\PathManagement\NamespacePathMapInterface::setFolderArray()
*/
public function setFolders(array $folders): void
{
@@ -83,7 +83,7 @@ final class NamespacePathMap implements NamespacePathMapInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\PathManagement\NamespacePathMapInterface::getFolders()
* @see \Infinito\Domain\PathManagement\NamespacePathMapInterface::getFolders()
*/
public function getFolders(): array
{

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\PathManagement;
namespace Infinito\Domain\PathManagement;
/**
* Allows to map a path to an namespace.

View File

@@ -1,10 +1,10 @@
<?php
namespace App\Domain\RepositoryManagement;
namespace Infinito\Domain\RepositoryManagement;
use App\Repository\RepositoryInterface;
use Infinito\Repository\RepositoryInterface;
use Doctrine\ORM\EntityManagerInterface;
use App\Domain\LayerManagement\LayerClassMap;
use Infinito\Domain\LayerManagement\LayerClassMap;
/**
* @author kevinfrantz

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\RepositoryManagement;
namespace Infinito\Domain\RepositoryManagement;
use App\Repository\RepositoryInterface;
use Infinito\Repository\RepositoryInterface;
/**
* Offers a fabric to produce entity repositories by layer.

View File

@@ -1,12 +1,12 @@
<?php
namespace App\Domain\RequestManagement\Action;
namespace Infinito\Domain\RequestManagement\Action;
use App\Attribut\ActionTypeAttribut;
use App\DBAL\Types\ActionType;
use App\DBAL\Types\Meta\Right\CRUDType;
use App\Domain\RequestManagement\User\RequestedUser;
use App\Domain\RequestManagement\User\RequestedUserInterface;
use Infinito\Attribut\ActionTypeAttribut;
use Infinito\DBAL\Types\ActionType;
use Infinito\DBAL\Types\Meta\Right\CRUDType;
use Infinito\Domain\RequestManagement\User\RequestedUser;
use Infinito\Domain\RequestManagement\User\RequestedUserInterface;
/**
* @author kevinfrantz
@@ -37,7 +37,7 @@ class RequestedAction extends RequestedUser implements RequestedActionInterface
/**
* {@inheritdoc}
*
* @see \App\Attribut\ActionTypeAttributInterface::setActionType()
* @see \Infinito\Attribut\ActionTypeAttributInterface::setActionType()
*/
public function setActionType(string $actionType): void
{

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Domain\RequestManagement\Action;
namespace Infinito\Domain\RequestManagement\Action;
use App\Attribut\ActionTypeAttributInterface;
use App\Domain\RequestManagement\User\RequestedUserInterface;
use Infinito\Attribut\ActionTypeAttributInterface;
use Infinito\Domain\RequestManagement\User\RequestedUserInterface;
/**
* An action containes multiple attributes which are neccessary to process a request.

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\RequestManagement\Action;
namespace Infinito\Domain\RequestManagement\Action;
use App\Domain\RequestManagement\User\RequestedUserServiceInterface;
use Infinito\Domain\RequestManagement\User\RequestedUserServiceInterface;
/**
* @author kevinfrantz

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\RequestManagement\Action;
namespace Infinito\Domain\RequestManagement\Action;
/**
* Allows to use a action as a service.

View File

@@ -1,23 +1,23 @@
<?php
namespace App\Domain\RequestManagement\Entity;
namespace Infinito\Domain\RequestManagement\Entity;
use App\Entity\AbstractEntity;
use App\Entity\EntityInterface;
use App\Attribut\SlugAttribut;
use App\Attribut\RequestedRightAttribut;
use App\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use App\Repository\Source\SourceRepositoryInterface;
use App\Exception\NotCorrectInstanceException;
use App\Entity\Source\AbstractSource;
use App\Exception\NotSetException;
use App\Repository\RepositoryInterface;
use App\Entity\Source\SourceInterface;
use Infinito\Entity\AbstractEntity;
use Infinito\Entity\EntityInterface;
use Infinito\Attribut\SlugAttribut;
use Infinito\Attribut\RequestedRightAttribut;
use Infinito\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use Infinito\Repository\Source\SourceRepositoryInterface;
use Infinito\Exception\NotCorrectInstanceException;
use Infinito\Entity\Source\AbstractSource;
use Infinito\Exception\NotSetException;
use Infinito\Repository\RepositoryInterface;
use Infinito\Entity\Source\SourceInterface;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
use App\Attribut\ClassAttribut;
use App\Exception\AllreadyDefinedException;
use App\Domain\RequestManagement\Right\RequestedRightInterface;
use App\Domain\RepositoryManagement\LayerRepositoryFactoryService;
use Infinito\Attribut\ClassAttribut;
use Infinito\Exception\AllreadyDefinedException;
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
use Infinito\Domain\RepositoryManagement\LayerRepositoryFactoryService;
/**
* @author kevinfrantz
@@ -127,7 +127,7 @@ class RequestedEntity extends AbstractEntity implements RequestedEntityInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\RequestManagement\Entity\RequestedEntityInterface::hasIdentity()
* @see \Infinito\Domain\RequestManagement\Entity\RequestedEntityInterface::hasIdentity()
*/
public function hasIdentity(): bool
{
@@ -137,7 +137,7 @@ class RequestedEntity extends AbstractEntity implements RequestedEntityInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\RequestManagement\Entity\RequestedEntityInterface::setIdentity()
* @see \Infinito\Domain\RequestManagement\Entity\RequestedEntityInterface::setIdentity()
*/
public function setIdentity($identity): void
{
@@ -157,7 +157,7 @@ class RequestedEntity extends AbstractEntity implements RequestedEntityInterface
/**
* {@inheritdoc}
*
* @see \App\Attribut\ClassAttributInterface::setClass()
* @see \Infinito\Attribut\ClassAttributInterface::setClass()
*/
public function setClass(string $class): void
{
@@ -170,7 +170,7 @@ class RequestedEntity extends AbstractEntity implements RequestedEntityInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\RequestManagement\Entity\RequestedEntityInterface::getEntity()
* @see \Infinito\Domain\RequestManagement\Entity\RequestedEntityInterface::getEntity()
*/
public function getEntity(): EntityInterface
{
@@ -186,7 +186,7 @@ class RequestedEntity extends AbstractEntity implements RequestedEntityInterface
*
* {@inheritdoc}
*
* @see \App\Attribut\RequestedRightAttributInterface::setRequestedRight()
* @see \Infinito\Attribut\RequestedRightAttributInterface::setRequestedRight()
*/
public function setRequestedRight(RequestedRightInterface $requestedRight): void
{
@@ -199,7 +199,7 @@ class RequestedEntity extends AbstractEntity implements RequestedEntityInterface
/**
* {@inheritdoc}
*
* @see \App\Attribut\ClassAttributInterface::getClass()
* @see \Infinito\Attribut\ClassAttributInterface::getClass()
*/
public function getClass(): string
{

View File

@@ -1,11 +1,11 @@
<?php
namespace App\Domain\RequestManagement\Entity;
namespace Infinito\Domain\RequestManagement\Entity;
use App\Entity\EntityInterface;
use App\Attribut\SlugAttributInterface;
use App\Attribut\RequestedRightAttributInterface;
use App\Attribut\ClassAttributInterface;
use Infinito\Entity\EntityInterface;
use Infinito\Attribut\SlugAttributInterface;
use Infinito\Attribut\RequestedRightAttributInterface;
use Infinito\Attribut\ClassAttributInterface;
/**
* A requested entity containes the stumb attributes to load an entity.

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\RequestManagement\Entity;
namespace Infinito\Domain\RequestManagement\Entity;
use App\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
use Infinito\Domain\RepositoryManagement\LayerRepositoryFactoryServiceInterface;
/**
* @author kevinfrantz

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\RequestManagement\Entity;
namespace Infinito\Domain\RequestManagement\Entity;
/**
* @author kevinfrantz

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Domain\RequestManagement\Right;
namespace Infinito\Domain\RequestManagement\Right;
use App\Domain\RequestManagement\Entity\RequestedEntityInterface;
use App\Entity\Source\SourceInterface;
use Infinito\Domain\RequestManagement\Entity\RequestedEntityInterface;
use Infinito\Entity\Source\SourceInterface;
/**
* Offers a facade to wrapp a requested right.
@@ -28,7 +28,7 @@ abstract class AbstractRequestedRightFacade implements RequestedRightInterface
/**
* {@inheritdoc}
*
* @see \App\Attribut\RecieverAttributInterface::getReciever()
* @see \Infinito\Attribut\RecieverAttributInterface::getReciever()
*/
public function getReciever(): SourceInterface
{
@@ -38,7 +38,7 @@ abstract class AbstractRequestedRightFacade implements RequestedRightInterface
/**
* {@inheritdoc}
*
* @see \App\Attribut\LayerAttributInterface::setLayer()
* @see \Infinito\Attribut\LayerAttributInterface::setLayer()
*/
public function setLayer(string $layer): void
{
@@ -48,7 +48,7 @@ abstract class AbstractRequestedRightFacade implements RequestedRightInterface
/**
* @deprecated
* {@inheritdoc}
* @see \App\Domain\RequestManagement\Right\RequestedRightInterface::getSource()
* @see \Infinito\Domain\RequestManagement\Right\RequestedRightInterface::getSource()
*/
public function getSource(): SourceInterface
{
@@ -58,7 +58,7 @@ abstract class AbstractRequestedRightFacade implements RequestedRightInterface
/**
* {@inheritdoc}
*
* @see \App\Attribut\LayerAttributInterface::getLayer()
* @see \Infinito\Attribut\LayerAttributInterface::getLayer()
*/
public function getLayer(): string
{
@@ -68,7 +68,7 @@ abstract class AbstractRequestedRightFacade implements RequestedRightInterface
/**
* {@inheritdoc}
*
* @see \App\Attribut\RequestedEntityAttributInterface::setRequestedEntity()
* @see \Infinito\Attribut\RequestedEntityAttributInterface::setRequestedEntity()
*/
public function setRequestedEntity(RequestedEntityInterface $requestedEntity): void
{
@@ -78,7 +78,7 @@ abstract class AbstractRequestedRightFacade implements RequestedRightInterface
/**
* {@inheritdoc}
*
* @see \App\Attribut\CrudAttributInterface::setCrud()
* @see \Infinito\Attribut\CrudAttributInterface::setCrud()
*/
public function setCrud(string $crud): void
{
@@ -88,7 +88,7 @@ abstract class AbstractRequestedRightFacade implements RequestedRightInterface
/**
* {@inheritdoc}
*
* @see \App\Attribut\CrudAttributInterface::getCrud()
* @see \Infinito\Attribut\CrudAttributInterface::getCrud()
*/
public function getCrud(): string
{
@@ -98,7 +98,7 @@ abstract class AbstractRequestedRightFacade implements RequestedRightInterface
/**
* {@inheritdoc}
*
* @see \App\Attribut\RequestedEntityAttributInterface::getRequestedEntity()
* @see \Infinito\Attribut\RequestedEntityAttributInterface::getRequestedEntity()
*/
public function getRequestedEntity(): RequestedEntityInterface
{
@@ -108,7 +108,7 @@ abstract class AbstractRequestedRightFacade implements RequestedRightInterface
/**
* {@inheritdoc}
*
* @see \App\Attribut\RecieverAttributInterface::setReciever()
* @see \Infinito\Attribut\RecieverAttributInterface::setReciever()
*/
public function setReciever(?SourceInterface $reciever): void
{
@@ -118,7 +118,7 @@ abstract class AbstractRequestedRightFacade implements RequestedRightInterface
/**
* {@inheritdoc}
*
* @see \App\Attribut\RequestedEntityAttributInterface::hasRequestedEntity()
* @see \Infinito\Attribut\RequestedEntityAttributInterface::hasRequestedEntity()
*/
public function hasRequestedEntity(): bool
{
@@ -128,7 +128,7 @@ abstract class AbstractRequestedRightFacade implements RequestedRightInterface
/**
* {@inheritdoc}
*
* @see \App\Attribut\RecieverAttributInterface::hasReciever()
* @see \Infinito\Attribut\RecieverAttributInterface::hasReciever()
*/
public function hasReciever(): bool
{

View File

@@ -1,17 +1,17 @@
<?php
namespace App\Domain\RequestManagement\Right;
namespace Infinito\Domain\RequestManagement\Right;
use App\Entity\Source\SourceInterface;
use App\Attribut\CrudAttribut;
use App\Attribut\LayerAttribut;
use App\Attribut\RecieverAttribut;
use App\Exception\PreconditionFailedException;
use App\Domain\RequestManagement\Entity\RequestedEntityInterface;
use App\Attribut\RequestedEntityAttribut;
use App\Entity\Meta\MetaInterface;
use App\Exception\NotCorrectInstanceException;
use App\Domain\RequestManagement\Entity\RequestedEntity;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Attribut\CrudAttribut;
use Infinito\Attribut\LayerAttribut;
use Infinito\Attribut\RecieverAttribut;
use Infinito\Exception\PreconditionFailedException;
use Infinito\Domain\RequestManagement\Entity\RequestedEntityInterface;
use Infinito\Attribut\RequestedEntityAttribut;
use Infinito\Entity\Meta\MetaInterface;
use Infinito\Exception\NotCorrectInstanceException;
use Infinito\Domain\RequestManagement\Entity\RequestedEntity;
/**
* @author kevinfrantz
@@ -72,7 +72,7 @@ class RequestedRight implements RequestedRightInterface
*
* @see https://en.wikipedia.org/wiki/Lazy_loading
* {@inheritdoc}
* @see \App\Domain\RequestManagement\Right\RequestedRightInterface::getSource()
* @see \Infinito\Domain\RequestManagement\Right\RequestedRightInterface::getSource()
*/
final public function getSource(): SourceInterface
{
@@ -87,7 +87,7 @@ class RequestedRight implements RequestedRightInterface
*
* {@inheritdoc}
*
* @see \App\Domain\RequestManagement\Right\RequestedRightInterface::setRequestedEntity()
* @see \Infinito\Domain\RequestManagement\Right\RequestedRightInterface::setRequestedEntity()
*/
final public function setRequestedEntity(RequestedEntityInterface $requestedEntity): void
{

View File

@@ -1,12 +1,12 @@
<?php
namespace App\Domain\RequestManagement\Right;
namespace Infinito\Domain\RequestManagement\Right;
use App\Attribut\CrudAttributInterface;
use App\Attribut\RecieverAttributInterface;
use App\Attribut\LayerAttributInterface;
use App\Entity\Source\SourceInterface;
use App\Attribut\RequestedEntityAttributInterface;
use Infinito\Attribut\CrudAttributInterface;
use Infinito\Attribut\RecieverAttributInterface;
use Infinito\Attribut\LayerAttributInterface;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Attribut\RequestedEntityAttributInterface;
/**
* @author kevinfrantz
@@ -16,7 +16,7 @@ interface RequestedRightInterface extends CrudAttributInterface, RecieverAttribu
/**
* {@inheritdoc}
*
* @see \App\Attribut\SourceAttributInterface::getSource()
* @see \Infinito\Attribut\SourceAttributInterface::getSource()
*/
public function getSource(): SourceInterface;
}

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\RequestManagement\Right;
namespace Infinito\Domain\RequestManagement\Right;
use App\Domain\RequestManagement\Entity\RequestedEntityServiceInterface;
use Infinito\Domain\RequestManagement\Entity\RequestedEntityServiceInterface;
/**
* Allows to use a right as a Service.

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\RequestManagement\Right;
namespace Infinito\Domain\RequestManagement\Right;
/**
* Allows to use a right as a Service.

View File

@@ -1,12 +1,12 @@
<?php
namespace App\Domain\RequestManagement\User;
namespace Infinito\Domain\RequestManagement\User;
use App\Entity\Source\SourceInterface;
use App\Domain\UserManagement\UserSourceDirectorInterface;
use App\Exception\SetNotPossibleException;
use App\Domain\RequestManagement\Right\RequestedRightInterface;
use App\Domain\RequestManagement\Right\AbstractRequestedRightFacade;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\UserManagement\UserSourceDirectorInterface;
use Infinito\Exception\SetNotPossibleException;
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
use Infinito\Domain\RequestManagement\Right\AbstractRequestedRightFacade;
/**
* @author kevinfrantz
@@ -33,7 +33,7 @@ class RequestedUser extends AbstractRequestedRightFacade implements RequestedUse
* @see UserSourceDirectorInterface
* @deprecated
* {@inheritdoc}
* @see \App\Attribut\RecieverAttributInterface::setReciever()
* @see \Infinito\Attribut\RecieverAttributInterface::setReciever()
*/
public function setReciever(?SourceInterface $reciever): void
{
@@ -43,7 +43,7 @@ class RequestedUser extends AbstractRequestedRightFacade implements RequestedUse
/**
* {@inheritdoc}
*
* @see \App\Attribut\RecieverAttributInterface::getReciever()
* @see \Infinito\Attribut\RecieverAttributInterface::getReciever()
*/
public function getReciever(): SourceInterface
{
@@ -53,7 +53,7 @@ class RequestedUser extends AbstractRequestedRightFacade implements RequestedUse
/**
* {@inheritdoc}
*
* @see \App\Domain\RequestManagement\User\RequestedUserInterface::getUserSourceDirector()
* @see \Infinito\Domain\RequestManagement\User\RequestedUserInterface::getUserSourceDirector()
*/
public function getUserSourceDirector(): UserSourceDirectorInterface
{

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Domain\RequestManagement\User;
namespace Infinito\Domain\RequestManagement\User;
use App\Domain\RequestManagement\Right\RequestedRightInterface;
use App\Domain\UserManagement\UserSourceDirectorInterface;
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
use Infinito\Domain\UserManagement\UserSourceDirectorInterface;
/**
* Offers a Service for managing the rights.

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Domain\RequestManagement\User;
namespace Infinito\Domain\RequestManagement\User;
use App\Domain\UserManagement\UserSourceDirectorServiceInterface;
use App\Domain\RequestManagement\Right\RequestedRightServiceInterface;
use Infinito\Domain\UserManagement\UserSourceDirectorServiceInterface;
use Infinito\Domain\RequestManagement\Right\RequestedRightServiceInterface;
/**
* @author kevinfrantz

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\RequestManagement\User;
namespace Infinito\Domain\RequestManagement\User;
/**
* @author kevinfrantz

View File

@@ -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
{

View File

@@ -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.

View File

@@ -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
{

View File

@@ -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.

View File

@@ -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
{

View File

@@ -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.

View File

@@ -1,10 +1,10 @@
<?php
namespace App\Domain\SecureManagement;
namespace Infinito\Domain\SecureManagement;
use App\Domain\RequestManagement\Right\RequestedRightInterface;
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
use Doctrine\ORM\EntityManagerInterface;
use App\Domain\RightManagement\RightTransformerServiceInterface;
use Infinito\Domain\RightManagement\RightTransformerServiceInterface;
/**
* @author kevinfrantz
@@ -27,7 +27,7 @@ final class SecureRequestedRightCheckerService implements SecureRequestedRightCh
/**
* {@inheritdoc}
*
* @see \App\Domain\SecureManagement\SecureRequestedRightCheckerServiceInterface::check()
* @see \Infinito\Domain\SecureManagement\SecureRequestedRightCheckerServiceInterface::check()
*/
public function check(RequestedRightInterface $requestedRight): bool
{

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\SecureManagement;
namespace Infinito\Domain\SecureManagement;
use App\Domain\RequestManagement\Right\RequestedRightInterface;
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
/**
* Allows to check if a RequestedRight is valid.

View File

@@ -1,11 +1,11 @@
<?php
namespace App\Domain\SecureManagement;
namespace Infinito\Domain\SecureManagement;
use App\Entity\Meta\RightInterface;
use App\Entity\Source\SourceInterface;
use App\Domain\LawManagement\LawPermissionChecker;
use App\Exception\SourceAccessDenied;
use Infinito\Entity\Meta\RightInterface;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\LawManagement\LawPermissionChecker;
use Infinito\Exception\SourceAccessDenied;
/**
* @author kevinfrantz
@@ -90,7 +90,7 @@ final class SecureSourceChecker implements SecureSourceCheckerInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\SecureManagement\SecureSourceCheckerInterface::hasPermission()
* @see \Infinito\Domain\SecureManagement\SecureSourceCheckerInterface::hasPermission()
*/
public function hasPermission(RightInterface $requestedRight): bool
{

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Domain\SecureManagement;
namespace Infinito\Domain\SecureManagement;
use App\Entity\Meta\RightInterface;
use App\Exception\SourceAccessDenied;
use Infinito\Entity\Meta\RightInterface;
use Infinito\Exception\SourceAccessDenied;
/**
* @author kevinfrantz

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\SourceManagement;
namespace Infinito\Domain\SourceManagement;
/**
* @author kevinfrantz
@@ -15,7 +15,7 @@ final class SourceClassInformationService implements SourceClassInformationServi
/**
* @var string Namespace praefix for sources
*/
const SOURCE_CLASS_NAMESPACE = 'App\\Entity\\Source';
const SOURCE_CLASS_NAMESPACE = 'Infinito\\Entity\\Source';
/**
* @var string Suffix to identifie php files
@@ -106,7 +106,7 @@ final class SourceClassInformationService implements SourceClassInformationServi
/**
* {@inheritdoc}
*
* @see \App\Domain\SourceManagement\SourceClassInformationServiceInterface::getAllSourceClasses()
* @see \Infinito\Domain\SourceManagement\SourceClassInformationServiceInterface::getAllSourceClasses()
*/
public function getAllSourceClasses(): array
{
@@ -116,7 +116,7 @@ final class SourceClassInformationService implements SourceClassInformationServi
/**
* {@inheritdoc}
*
* @see \App\Domain\SourceManagement\SourceClassInformationServiceInterface::getAllSubSourceClasses()
* @see \Infinito\Domain\SourceManagement\SourceClassInformationServiceInterface::getAllSubSourceClasses()
*/
public function getAllSubSourceClasses(string $subNamespace): array
{

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\SourceManagement;
namespace Infinito\Domain\SourceManagement;
/**
* Offers informations about the source classes.

View File

@@ -1,11 +1,11 @@
<?php
namespace App\Domain\SourceManagement;
namespace Infinito\Domain\SourceManagement;
use Doctrine\Common\Collections\Collection;
use App\Entity\Source\SourceInterface;
use Infinito\Entity\Source\SourceInterface;
use Doctrine\Common\Collections\ArrayCollection;
use App\Entity\Meta\Relation\Member\MemberRelationInterface;
use Infinito\Entity\Meta\Relation\Member\MemberRelationInterface;
/**
* @author kevinfrantz
@@ -46,7 +46,7 @@ final class SourceMemberInformation implements SourceMemberInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\SourceManagement\SourceMemberInformationInterface::getAllMembers()
* @see \Infinito\Domain\SourceManagement\SourceMemberInformationInterface::getAllMembers()
*/
public function getAllMembers(): Collection
{

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Domain\SourceManagement;
namespace Infinito\Domain\SourceManagement;
use Doctrine\Common\Collections\Collection;
use App\Entity\Source\SourceInterface;
use Infinito\Entity\Source\SourceInterface;
/**
* Offers to get all source members over all dimensions.

View File

@@ -1,10 +1,10 @@
<?php
namespace App\Domain\SourceManagement;
namespace Infinito\Domain\SourceManagement;
use App\Entity\Source\SourceInterface;
use App\Domain\MemberManagement\MemberManagerInterface;
use App\Domain\MemberManagement\MemberManager;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\MemberManagement\MemberManagerInterface;
use Infinito\Domain\MemberManagement\MemberManager;
/**
* @author kevinfrantz
@@ -33,7 +33,7 @@ final class SourceMemberManager implements SourceMemberManagerInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\SourceManagement\SourceMemberManagerInterface::addMember()
* @see \Infinito\Domain\SourceManagement\SourceMemberManagerInterface::addMember()
*/
public function addMember(SourceInterface $member): void
{
@@ -43,7 +43,7 @@ final class SourceMemberManager implements SourceMemberManagerInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\SourceManagement\SourceMemberManagerInterface::removeMember()
* @see \Infinito\Domain\SourceManagement\SourceMemberManagerInterface::removeMember()
*/
public function removeMember(SourceInterface $member): void
{
@@ -53,7 +53,7 @@ final class SourceMemberManager implements SourceMemberManagerInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\SourceManagement\SourceMemberManagerInterface::addMembership()
* @see \Infinito\Domain\SourceManagement\SourceMemberManagerInterface::addMembership()
*/
public function addMembership(SourceInterface $membership): void
{
@@ -63,7 +63,7 @@ final class SourceMemberManager implements SourceMemberManagerInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\SourceManagement\SourceMemberManagerInterface::removeMembership()
* @see \Infinito\Domain\SourceManagement\SourceMemberManagerInterface::removeMembership()
*/
public function removeMembership(SourceInterface $membership): void
{

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\SourceManagement;
namespace Infinito\Domain\SourceManagement;
use App\Entity\Source\SourceInterface;
use Infinito\Entity\Source\SourceInterface;
/**
* Offers to add and remove source members and memberships.

View File

@@ -1,11 +1,11 @@
<?php
namespace App\Domain\SourceManagement;
namespace Infinito\Domain\SourceManagement;
use Doctrine\Common\Collections\Collection;
use App\Entity\Source\SourceInterface;
use Infinito\Entity\Source\SourceInterface;
use Doctrine\Common\Collections\ArrayCollection;
use App\Entity\Meta\Relation\Member\MemberRelationInterface;
use Infinito\Entity\Meta\Relation\Member\MemberRelationInterface;
/**
* @author kevinfrantz
@@ -46,7 +46,7 @@ final class SourceMembershipInformation implements SourceMembershipInformationIn
/**
* {@inheritdoc}
*
* @see \App\Domain\SourceManagement\SourceMembershipInformationInterface::getAllMemberships()
* @see \Infinito\Domain\SourceManagement\SourceMembershipInformationInterface::getAllMemberships()
*/
public function getAllMemberships(): Collection
{

View File

@@ -1,9 +1,9 @@
<?php
namespace App\Domain\SourceManagement;
namespace Infinito\Domain\SourceManagement;
use Doctrine\Common\Collections\Collection;
use App\Entity\Source\SourceInterface;
use Infinito\Entity\Source\SourceInterface;
/**
* Offers to get all memberships of a source.

View File

@@ -1,10 +1,10 @@
<?php
namespace App\Domain\SourceManagement;
namespace Infinito\Domain\SourceManagement;
use App\Domain\EntityManagement\EntityMetaInformation;
use App\Entity\Source\AbstractSource;
use App\Exception\NotCorrectInstanceException;
use Infinito\Domain\EntityManagement\EntityMetaInformation;
use Infinito\Entity\Source\AbstractSource;
use Infinito\Exception\NotCorrectInstanceException;
/**
* @author kevinfrantz
@@ -16,11 +16,11 @@ final class SourceMetaInformation extends EntityMetaInformation implements Sourc
/**
* {@inheritdoc}
*
* @see \App\Domain\EntityManagement\EntityMetaInformation::__construct()
* @see \Infinito\Domain\EntityManagement\EntityMetaInformation::__construct()
*
* @param $entity AbstractSource
*/
public function __construct(\App\Entity\EntityInterface $entity)
public function __construct(\Infinito\Entity\EntityInterface $entity)
{
if (!$entity instanceof AbstractSource) {
throw new NotCorrectInstanceException('Entity has to be an instance of '.AbstractSource::class);
@@ -31,7 +31,7 @@ final class SourceMetaInformation extends EntityMetaInformation implements Sourc
/**
* {@inheritdoc}
*
* @see \App\Domain\EntityManagement\EntityMetaInformation::setPureName()
* @see \Infinito\Domain\EntityManagement\EntityMetaInformation::setPureName()
*/
protected function setPureName(): void
{

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\SourceManagement;
namespace Infinito\Domain\SourceManagement;
use App\Domain\EntityManagement\EntityMetaInformationInterface;
use Infinito\Domain\EntityManagement\EntityMetaInformationInterface;
/**
* @author kevinfrantz

View File

@@ -1,14 +1,14 @@
<?php
namespace App\Domain\SourceManagement;
namespace Infinito\Domain\SourceManagement;
use App\Entity\Meta\RightInterface;
use App\Entity\Source\SourceInterface;
use App\Exception\AllreadySetException;
use App\Entity\Source\AbstractSource;
use App\Entity\Meta\Law;
use App\Exception\AllreadyDefinedException;
use App\Exception\NotSetException;
use Infinito\Entity\Meta\RightInterface;
use Infinito\Entity\Source\SourceInterface;
use Infinito\Exception\AllreadySetException;
use Infinito\Entity\Source\AbstractSource;
use Infinito\Entity\Meta\Law;
use Infinito\Exception\AllreadyDefinedException;
use Infinito\Exception\NotSetException;
use Doctrine\Common\Collections\ArrayCollection;
/**
@@ -56,7 +56,7 @@ final class SourceRightManager implements SourceRightManagerInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\SourceManagement\SourceRightManagerInterface::addRight()
* @see \Infinito\Domain\SourceManagement\SourceRightManagerInterface::addRight()
*/
public function addRight(RightInterface $right): void
{
@@ -72,7 +72,7 @@ final class SourceRightManager implements SourceRightManagerInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\SourceManagement\SourceRightManagerInterface::removeRight()
* @see \Infinito\Domain\SourceManagement\SourceRightManagerInterface::removeRight()
*/
public function removeRight(RightInterface $right): void
{

View File

@@ -1,11 +1,11 @@
<?php
namespace App\Domain\SourceManagement;
namespace Infinito\Domain\SourceManagement;
use App\Entity\Meta\RightInterface;
use App\Exception\AllreadySetException;
use App\Exception\AllreadyDefinedException;
use App\Exception\NotSetException;
use Infinito\Entity\Meta\RightInterface;
use Infinito\Exception\AllreadySetException;
use Infinito\Exception\AllreadyDefinedException;
use Infinito\Exception\NotSetException;
/**
* Allows to add and remove rights of a source.

View File

@@ -1,12 +1,12 @@
<?php
namespace App\Domain\SourceManagement;
namespace Infinito\Domain\SourceManagement;
use App\Entity\Source\Complex\Collection\TreeCollectionSourceInterface;
use App\Entity\Source\Complex\Collection\TreeCollectionSource;
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSourceInterface;
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSource;
use Doctrine\Common\Collections\Collection;
use Doctrine\Common\Collections\ArrayCollection;
use App\Entity\Source\SourceInterface;
use Infinito\Entity\Source\SourceInterface;
/**
* Allows to iterate over a tree.
@@ -71,7 +71,7 @@ final class TreeSourceInformation implements TreeSourceInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\SourceManagement\TreeSourceInformationInterface::getBranches()
* @see \Infinito\Domain\SourceManagement\TreeSourceInformationInterface::getBranches()
*/
public function getBranches(): Collection
{
@@ -83,7 +83,7 @@ final class TreeSourceInformation implements TreeSourceInformationInterface
* @todo Remove the getAllBranches use inside the function.
* {@inheritdoc}
*
* @see \App\Domain\SourceManagement\TreeSourceInformationInterface::getAllBranches()
* @see \Infinito\Domain\SourceManagement\TreeSourceInformationInterface::getAllBranches()
*/
public function getAllBranches(): Collection
{
@@ -114,7 +114,7 @@ final class TreeSourceInformation implements TreeSourceInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\SourceManagement\TreeSourceInformationInterface::getLeaves()
* @see \Infinito\Domain\SourceManagement\TreeSourceInformationInterface::getLeaves()
*/
public function getLeaves(): Collection
{
@@ -124,7 +124,7 @@ final class TreeSourceInformation implements TreeSourceInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\SourceManagement\TreeSourceInformationInterface::getAllLeaves()
* @see \Infinito\Domain\SourceManagement\TreeSourceInformationInterface::getAllLeaves()
*/
public function getAllLeaves(): Collection
{

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\SourceManagement;
namespace Infinito\Domain\SourceManagement;
use Doctrine\Common\Collections\Collection;

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\TemplateManagement;
namespace Infinito\Domain\TemplateManagement;
use App\DBAL\Types\RESTResponseType;
use Infinito\DBAL\Types\RESTResponseType;
/**
* @author kevinfrantz

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\TemplateManagement;
namespace Infinito\Domain\TemplateManagement;
use App\Domain\RequestManagement\Action\RequestedActionServiceInterface;
use Infinito\Domain\RequestManagement\Action\RequestedActionServiceInterface;
/**
* @author kevinfrantz
@@ -12,7 +12,7 @@ final class TemplateNameService implements TemplateNameServiceInterface
/**
* @var string The namespace which should be ignored
*/
const BASE_NAMESPACE = 'App\\Entity';
const BASE_NAMESPACE = 'Infinito\\Entity';
/**
* @var string the basic entry point for templates
@@ -98,7 +98,7 @@ final class TemplateNameService implements TemplateNameServiceInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\TemplateManagement\TemplateNameServiceInterface::getAtomTemplateName()
* @see \Infinito\Domain\TemplateManagement\TemplateNameServiceInterface::getAtomTemplateName()
*/
public function getAtomTemplateName(): string
{
@@ -108,7 +108,7 @@ final class TemplateNameService implements TemplateNameServiceInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\TemplateManagement\TemplateNameServiceInterface::getMoleculeTemplateName()
* @see \Infinito\Domain\TemplateManagement\TemplateNameServiceInterface::getMoleculeTemplateName()
*/
public function getMoleculeTemplateName(): string
{

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\TemplateManagement;
namespace Infinito\Domain\TemplateManagement;
/**
* @author kevinfrantz

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\TemplateManagement;
namespace Infinito\Domain\TemplateManagement;
use App\Domain\FormManagement\FormMetaInformation;
use Infinito\Domain\FormManagement\FormMetaInformation;
/**
* @author kevinfrantz
@@ -57,7 +57,7 @@ final class TemplatePathFormAndView implements TemplatePathFormAndViewInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\TemplateManagement\TemplatePathFormAndViewInterface::getForm()
* @see \Infinito\Domain\TemplateManagement\TemplatePathFormAndViewInterface::getForm()
*/
public function getForm(): TemplatePathInformationInterface
{
@@ -67,7 +67,7 @@ final class TemplatePathFormAndView implements TemplatePathFormAndViewInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\TemplateManagement\TemplatePathFormAndViewInterface::getView()
* @see \Infinito\Domain\TemplateManagement\TemplatePathFormAndViewInterface::getView()
*/
public function getView(): TemplatePathInformation
{
@@ -77,7 +77,7 @@ final class TemplatePathFormAndView implements TemplatePathFormAndViewInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\TemplateManagement\ReloadTypeInterface::reloadType()
* @see \Infinito\Domain\TemplateManagement\ReloadTypeInterface::reloadType()
*/
public function reloadType(string $type): void
{

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Domain\TemplateManagement;
namespace Infinito\Domain\TemplateManagement;
/**
* @deprecated

View File

@@ -1,8 +1,8 @@
<?php
namespace App\Domain\TemplateManagement;
namespace Infinito\Domain\TemplateManagement;
use App\DBAL\Types\RESTResponseType;
use Infinito\DBAL\Types\RESTResponseType;
/**
* @author kevinfrantz
@@ -91,7 +91,7 @@ final class TemplatePathInformation implements TemplatePathInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\TemplateManagement\TemplatePathInformationInterface::getAtomTemplatePath()
* @see \Infinito\Domain\TemplateManagement\TemplatePathInformationInterface::getAtomTemplatePath()
*/
public function getAtomTemplatePath(): string
{
@@ -101,7 +101,7 @@ final class TemplatePathInformation implements TemplatePathInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\TemplateManagement\TemplatePathInformationInterface::getMoleculeTemplatePath()
* @see \Infinito\Domain\TemplateManagement\TemplatePathInformationInterface::getMoleculeTemplatePath()
*/
public function getMoleculeTemplatePath(): string
{
@@ -111,7 +111,7 @@ final class TemplatePathInformation implements TemplatePathInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\TemplateManagement\TemplatePathInformationInterface::reloadType()
* @see \Infinito\Domain\TemplateManagement\TemplatePathInformationInterface::reloadType()
*/
public function reloadType(string $type): void
{
@@ -122,7 +122,7 @@ final class TemplatePathInformation implements TemplatePathInformationInterface
/**
* {@inheritdoc}
*
* @see \App\Domain\TemplateManagement\TemplatePathInformationInterface::getCrud()
* @see \Infinito\Domain\TemplateManagement\TemplatePathInformationInterface::getCrud()
*/
public function getCrud(): string
{

Some files were not shown because too many files have changed in this diff Show More