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,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;