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()
{