Renamed domain SourceManagement to Source

This commit is contained in:
Kevin Frantz 2019-05-30 17:04:46 +02:00
parent cf8eace690
commit 8b4d9f2338
25 changed files with 55 additions and 55 deletions

View File

@ -2,7 +2,7 @@
namespace Infinito\Domain\Action\Create; namespace Infinito\Domain\Action\Create;
use Infinito\Domain\SourceManagement\SourceClassInformationService; use Infinito\Domain\Source\SourceClassInformationService;
use Infinito\Entity\Source\AbstractSource; use Infinito\Entity\Source\AbstractSource;
use Symfony\Component\Form\Form; use Symfony\Component\Form\Form;
use Infinito\Domain\Parameter\Parameter\ClassParameter; use Infinito\Domain\Parameter\Parameter\ClassParameter;

View File

@ -9,7 +9,7 @@ use Doctrine\Common\Collections\Collection;
use Infinito\Entity\Meta\LawInterface; use Infinito\Entity\Meta\LawInterface;
use Infinito\Domain\Right\RightChecker; use Infinito\Domain\Right\RightChecker;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\SourceManagement\SourceMemberInformation; use Infinito\Domain\Source\SourceMemberInformation;
use Infinito\Domain\Method\MethodPrefixType; use Infinito\Domain\Method\MethodPrefixType;
/** /**

View File

@ -5,7 +5,7 @@ namespace Infinito\Domain\Right;
use Infinito\Entity\Meta\RightInterface; use Infinito\Entity\Meta\RightInterface;
use Doctrine\Common\Collections\Collection; use Doctrine\Common\Collections\Collection;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\SourceManagement\SourceMemberInformation; use Infinito\Domain\Source\SourceMemberInformation;
/** /**
* @todo Implement the check of conditions! * @todo Implement the check of conditions!

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Infinito\Domain\SourceManagement; namespace Infinito\Domain\Source;
/** /**
* @author kevinfrantz * @author kevinfrantz
@ -106,7 +106,7 @@ final class SourceClassInformationService implements SourceClassInformationServi
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @see \Infinito\Domain\SourceManagement\SourceClassInformationServiceInterface::getAllSourceClasses() * @see \Infinito\Domain\Source\SourceClassInformationServiceInterface::getAllSourceClasses()
*/ */
public function getAllSourceClasses(): array public function getAllSourceClasses(): array
{ {
@ -116,7 +116,7 @@ final class SourceClassInformationService implements SourceClassInformationServi
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @see \Infinito\Domain\SourceManagement\SourceClassInformationServiceInterface::getAllSubSourceClasses() * @see \Infinito\Domain\Source\SourceClassInformationServiceInterface::getAllSubSourceClasses()
*/ */
public function getAllSubSourceClasses(string $subNamespace): array public function getAllSubSourceClasses(string $subNamespace): array
{ {

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Infinito\Domain\SourceManagement; namespace Infinito\Domain\Source;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;

View File

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

View File

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

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Infinito\Domain\SourceManagement; namespace Infinito\Domain\Source;
use Infinito\Entity\Meta\RightInterface; use Infinito\Entity\Meta\RightInterface;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;
@ -57,7 +57,7 @@ final class SourceRightManager implements SourceRightManagerInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @see \Infinito\Domain\SourceManagement\SourceRightManagerInterface::addRight() * @see \Infinito\Domain\Source\SourceRightManagerInterface::addRight()
*/ */
public function addRight(RightInterface $right): void public function addRight(RightInterface $right): void
{ {
@ -73,7 +73,7 @@ final class SourceRightManager implements SourceRightManagerInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @see \Infinito\Domain\SourceManagement\SourceRightManagerInterface::removeRight() * @see \Infinito\Domain\Source\SourceRightManagerInterface::removeRight()
*/ */
public function removeRight(RightInterface $right): void public function removeRight(RightInterface $right): void
{ {

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Infinito\Domain\SourceManagement; namespace Infinito\Domain\Source;
use Infinito\Entity\Meta\RightInterface; use Infinito\Entity\Meta\RightInterface;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Infinito\Domain\SourceManagement; namespace Infinito\Domain\Source;
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSourceInterface; use Infinito\Entity\Source\Complex\Collection\TreeCollectionSourceInterface;
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSource; use Infinito\Entity\Source\Complex\Collection\TreeCollectionSource;
@ -71,7 +71,7 @@ final class TreeSourceInformation implements TreeSourceInformationInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @see \Infinito\Domain\SourceManagement\TreeSourceInformationInterface::getBranches() * @see \Infinito\Domain\Source\TreeSourceInformationInterface::getBranches()
*/ */
public function getBranches(): Collection public function getBranches(): Collection
{ {
@ -83,7 +83,7 @@ final class TreeSourceInformation implements TreeSourceInformationInterface
* @todo Remove the getAllBranches use inside the function. * @todo Remove the getAllBranches use inside the function.
* {@inheritdoc} * {@inheritdoc}
* *
* @see \Infinito\Domain\SourceManagement\TreeSourceInformationInterface::getAllBranches() * @see \Infinito\Domain\Source\TreeSourceInformationInterface::getAllBranches()
*/ */
public function getAllBranches(): Collection public function getAllBranches(): Collection
{ {
@ -114,7 +114,7 @@ final class TreeSourceInformation implements TreeSourceInformationInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @see \Infinito\Domain\SourceManagement\TreeSourceInformationInterface::getLeaves() * @see \Infinito\Domain\Source\TreeSourceInformationInterface::getLeaves()
*/ */
public function getLeaves(): Collection public function getLeaves(): Collection
{ {
@ -124,7 +124,7 @@ final class TreeSourceInformation implements TreeSourceInformationInterface
/** /**
* {@inheritdoc} * {@inheritdoc}
* *
* @see \Infinito\Domain\SourceManagement\TreeSourceInformationInterface::getAllLeaves() * @see \Infinito\Domain\Source\TreeSourceInformationInterface::getAllLeaves()
*/ */
public function getAllLeaves(): Collection public function getAllLeaves(): Collection
{ {

View File

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

View File

@ -5,7 +5,7 @@ namespace Infinito\Form\Type;
use Infinito\Form\AbstractType; use Infinito\Form\AbstractType;
use Symfony\Component\OptionsResolver\OptionsResolver; use Symfony\Component\OptionsResolver\OptionsResolver;
use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
use Infinito\Domain\SourceManagement\SourceClassInformationService; use Infinito\Domain\Source\SourceClassInformationService;
/** /**
* @author kevinfrantz * @author kevinfrantz

View File

@ -1,13 +1,13 @@
<?php <?php
namespace Tests\Integration\Domain\SourceManagement; namespace Tests\Integration\Domain\Source;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\SourceManagement\SourceMemberManagerInterface; use Infinito\Domain\Source\SourceMemberManagerInterface;
use Infinito\Domain\SourceManagement\SourceMemberManager; use Infinito\Domain\Source\SourceMemberManager;
use Infinito\Domain\SourceManagement\SourceMemberInformation; use Infinito\Domain\Source\SourceMemberInformation;
use Infinito\Domain\SourceManagement\SourceMembershipInformation; use Infinito\Domain\Source\SourceMembershipInformation;
use Infinito\Entity\Source\PureSource; use Infinito\Entity\Source\PureSource;
class SourceMemberManagerIntegrationTest extends TestCase class SourceMemberManagerIntegrationTest extends TestCase

View File

@ -13,7 +13,7 @@ use Infinito\Entity\Meta\Law;
use Infinito\Entity\Meta\LawInterface; use Infinito\Entity\Meta\LawInterface;
use Infinito\Entity\Meta\RightInterface; use Infinito\Entity\Meta\RightInterface;
use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\ArrayCollection;
use Infinito\Domain\SourceManagement\SourceMemberManager; use Infinito\Domain\Source\SourceMemberManager;
use Infinito\Entity\Source\PureSource; use Infinito\Entity\Source\PureSource;
/** /**

View File

@ -1,9 +1,9 @@
<?php <?php
namespace tests\Unit\Domain\SourceManagement; namespace tests\Unit\Domain\Source;
use Infinito\Domain\SourceManagement\SourceClassInformationServiceInterface; use Infinito\Domain\Source\SourceClassInformationServiceInterface;
use Infinito\Domain\SourceManagement\SourceClassInformationService; use Infinito\Domain\Source\SourceClassInformationService;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Infinito\Entity\Source\PureSource; use Infinito\Entity\Source\PureSource;
use Infinito\Entity\Source\Complex\AbstractComplexSource; use Infinito\Entity\Source\Complex\AbstractComplexSource;

View File

@ -1,6 +1,6 @@
<?php <?php
namespace Tests\Unit\Domain\SourceManagement; namespace Tests\Unit\Domain\Source;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;
@ -9,8 +9,8 @@ use Infinito\Entity\Source\Primitive\Text\TextSource;
use Infinito\Entity\Source\Primitive\Name\FirstNameSource; use Infinito\Entity\Source\Primitive\Name\FirstNameSource;
use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\ArrayCollection;
use Infinito\Entity\Source\Complex\FullPersonNameSource; use Infinito\Entity\Source\Complex\FullPersonNameSource;
use Infinito\Domain\SourceManagement\SourceMemberInformation; use Infinito\Domain\Source\SourceMemberInformation;
use Infinito\Domain\SourceManagement\SourceMemberInformationInterface; use Infinito\Domain\Source\SourceMemberInformationInterface;
use Infinito\Entity\Source\PureSource; use Infinito\Entity\Source\PureSource;
class SourceMemberInformationTest extends TestCase class SourceMemberInformationTest extends TestCase

View File

@ -1,11 +1,11 @@
<?php <?php
namespace Tests\Unit\Domain\SourceManagement; namespace Tests\Unit\Domain\Source;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\SourceManagement\SourceMemberManagerInterface; use Infinito\Domain\Source\SourceMemberManagerInterface;
use Infinito\Domain\SourceManagement\SourceMemberManager; use Infinito\Domain\Source\SourceMemberManager;
use Infinito\Entity\Source\PureSource; use Infinito\Entity\Source\PureSource;
class SourceMemberManagerTest extends TestCase class SourceMemberManagerTest extends TestCase

View File

@ -1,10 +1,10 @@
<?php <?php
namespace Tests\Unit\Domain\SourceManagement; namespace Tests\Unit\Domain\Source;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Infinito\Domain\SourceManagement\SourceMembershipInformationInterface; use Infinito\Domain\Source\SourceMembershipInformationInterface;
use Infinito\Domain\SourceManagement\SourceMembershipInformation; use Infinito\Domain\Source\SourceMembershipInformation;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;
use Infinito\Entity\Source\Complex\UserSource; use Infinito\Entity\Source\Complex\UserSource;
use Infinito\Entity\Source\Primitive\Text\TextSource; use Infinito\Entity\Source\Primitive\Text\TextSource;

View File

@ -1,11 +1,11 @@
<?php <?php
namespace Unit\Domain\SourceManagement; namespace Unit\Domain\Source;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;
use Infinito\Domain\SourceManagement\SourceRightManagerInterface; use Infinito\Domain\Source\SourceRightManagerInterface;
use Infinito\Domain\SourceManagement\SourceRightManager; use Infinito\Domain\Source\SourceRightManager;
use Infinito\Entity\Meta\RightInterface; use Infinito\Entity\Meta\RightInterface;
use Infinito\Entity\Meta\Right; use Infinito\Entity\Meta\Right;
use Infinito\Entity\Meta\Law; use Infinito\Entity\Meta\Law;

View File

@ -1,13 +1,13 @@
<?php <?php
namespace Tests\Unit\Domain\SourceManagement; namespace Tests\Unit\Domain\Source;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use Infinito\Entity\Source\Complex\Collection\TreeCollectionSource; use Infinito\Entity\Source\Complex\Collection\TreeCollectionSource;
use Infinito\Entity\Source\SourceInterface; use Infinito\Entity\Source\SourceInterface;
use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\ArrayCollection;
use Infinito\Domain\SourceManagement\TreeSourceInformationInterface; use Infinito\Domain\Source\TreeSourceInformationInterface;
use Infinito\Domain\SourceManagement\TreeSourceInformation; use Infinito\Domain\Source\TreeSourceInformation;
class TreeSourceInformationTest extends TestCase class TreeSourceInformationTest extends TestCase
{ {

View File

@ -5,7 +5,7 @@ namespace tests\Unit\Repository\Source;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityManager;
use Infinito\Entity\Source\Complex\UserSource; use Infinito\Entity\Source\Complex\UserSource;
use Infinito\Domain\SourceManagement\SourceMemberManager; use Infinito\Domain\Source\SourceMemberManager;
/** /**
* @todo refactor this to an integration test! * @todo refactor this to an integration test!