mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-11-08 13:18:00 +00:00
Changed App namespace to Infinito namespace
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\FormManagement;
|
||||
namespace Infinito\Domain\FormManagement;
|
||||
|
||||
use App\Entity\EntityInterface;
|
||||
use Infinito\Entity\EntityInterface;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\FormManagement;
|
||||
namespace Infinito\Domain\FormManagement;
|
||||
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user