mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Changed App namespace to Infinito namespace
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\SourceManagement;
|
||||
namespace Infinito\Domain\SourceManagement;
|
||||
|
||||
/**
|
||||
* Offers informations about the source classes.
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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.
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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.
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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.
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -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.
|
||||
|
@@ -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
|
||||
{
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\SourceManagement;
|
||||
namespace Infinito\Domain\SourceManagement;
|
||||
|
||||
use Doctrine\Common\Collections\Collection;
|
||||
|
||||
|
Reference in New Issue
Block a user