mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-10-31 17:29:04 +00:00 
			
		
		
		
	Renamed domain SourceManagement to Source
This commit is contained in:
		| @@ -2,7 +2,7 @@ | ||||
|  | ||||
| namespace Infinito\Domain\Action\Create; | ||||
|  | ||||
| use Infinito\Domain\SourceManagement\SourceClassInformationService; | ||||
| use Infinito\Domain\Source\SourceClassInformationService; | ||||
| use Infinito\Entity\Source\AbstractSource; | ||||
| use Symfony\Component\Form\Form; | ||||
| use Infinito\Domain\Parameter\Parameter\ClassParameter; | ||||
|   | ||||
| @@ -9,7 +9,7 @@ use Doctrine\Common\Collections\Collection; | ||||
| use Infinito\Entity\Meta\LawInterface; | ||||
| use Infinito\Domain\Right\RightChecker; | ||||
| use Infinito\Entity\Source\SourceInterface; | ||||
| use Infinito\Domain\SourceManagement\SourceMemberInformation; | ||||
| use Infinito\Domain\Source\SourceMemberInformation; | ||||
| use Infinito\Domain\Method\MethodPrefixType; | ||||
|  | ||||
| /** | ||||
|   | ||||
| @@ -5,7 +5,7 @@ namespace Infinito\Domain\Right; | ||||
| use Infinito\Entity\Meta\RightInterface; | ||||
| use Doctrine\Common\Collections\Collection; | ||||
| use Infinito\Entity\Source\SourceInterface; | ||||
| use Infinito\Domain\SourceManagement\SourceMemberInformation; | ||||
| use Infinito\Domain\Source\SourceMemberInformation; | ||||
|  | ||||
| /** | ||||
|  * @todo Implement the check of conditions! | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Infinito\Domain\SourceManagement; | ||||
| namespace Infinito\Domain\Source; | ||||
| 
 | ||||
| /** | ||||
|  * @author kevinfrantz | ||||
| @@ -106,7 +106,7 @@ final class SourceClassInformationService implements SourceClassInformationServi | ||||
|     /** | ||||
|      * {@inheritdoc} | ||||
|      * | ||||
|      * @see \Infinito\Domain\SourceManagement\SourceClassInformationServiceInterface::getAllSourceClasses() | ||||
|      * @see \Infinito\Domain\Source\SourceClassInformationServiceInterface::getAllSourceClasses() | ||||
|      */ | ||||
|     public function getAllSourceClasses(): array | ||||
|     { | ||||
| @@ -116,7 +116,7 @@ final class SourceClassInformationService implements SourceClassInformationServi | ||||
|     /** | ||||
|      * {@inheritdoc} | ||||
|      * | ||||
|      * @see \Infinito\Domain\SourceManagement\SourceClassInformationServiceInterface::getAllSubSourceClasses() | ||||
|      * @see \Infinito\Domain\Source\SourceClassInformationServiceInterface::getAllSubSourceClasses() | ||||
|      */ | ||||
|     public function getAllSubSourceClasses(string $subNamespace): array | ||||
|     { | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Infinito\Domain\SourceManagement; | ||||
| namespace Infinito\Domain\Source; | ||||
| 
 | ||||
| /** | ||||
|  * Offers informations about the source classes. | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Infinito\Domain\SourceManagement; | ||||
| namespace Infinito\Domain\Source; | ||||
| 
 | ||||
| use Doctrine\Common\Collections\Collection; | ||||
| use Infinito\Entity\Source\SourceInterface; | ||||
| @@ -46,7 +46,7 @@ final class SourceMemberInformation implements SourceMemberInformationInterface | ||||
|     /** | ||||
|      * {@inheritdoc} | ||||
|      * | ||||
|      * @see \Infinito\Domain\SourceManagement\SourceMemberInformationInterface::getAllMembers() | ||||
|      * @see \Infinito\Domain\Source\SourceMemberInformationInterface::getAllMembers() | ||||
|      */ | ||||
|     public function getAllMembers(): Collection | ||||
|     { | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Infinito\Domain\SourceManagement; | ||||
| namespace Infinito\Domain\Source; | ||||
| 
 | ||||
| use Doctrine\Common\Collections\Collection; | ||||
| use Infinito\Entity\Source\SourceInterface; | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Infinito\Domain\SourceManagement; | ||||
| namespace Infinito\Domain\Source; | ||||
| 
 | ||||
| use Infinito\Entity\Source\SourceInterface; | ||||
| use Infinito\Domain\Member\MemberManagerInterface; | ||||
| @@ -33,7 +33,7 @@ final class SourceMemberManager implements SourceMemberManagerInterface | ||||
|     /** | ||||
|      * {@inheritdoc} | ||||
|      * | ||||
|      * @see \Infinito\Domain\SourceManagement\SourceMemberManagerInterface::addMember() | ||||
|      * @see \Infinito\Domain\Source\SourceMemberManagerInterface::addMember() | ||||
|      */ | ||||
|     public function addMember(SourceInterface $member): void | ||||
|     { | ||||
| @@ -43,7 +43,7 @@ final class SourceMemberManager implements SourceMemberManagerInterface | ||||
|     /** | ||||
|      * {@inheritdoc} | ||||
|      * | ||||
|      * @see \Infinito\Domain\SourceManagement\SourceMemberManagerInterface::removeMember() | ||||
|      * @see \Infinito\Domain\Source\SourceMemberManagerInterface::removeMember() | ||||
|      */ | ||||
|     public function removeMember(SourceInterface $member): void | ||||
|     { | ||||
| @@ -53,7 +53,7 @@ final class SourceMemberManager implements SourceMemberManagerInterface | ||||
|     /** | ||||
|      * {@inheritdoc} | ||||
|      * | ||||
|      * @see \Infinito\Domain\SourceManagement\SourceMemberManagerInterface::addMembership() | ||||
|      * @see \Infinito\Domain\Source\SourceMemberManagerInterface::addMembership() | ||||
|      */ | ||||
|     public function addMembership(SourceInterface $membership): void | ||||
|     { | ||||
| @@ -63,7 +63,7 @@ final class SourceMemberManager implements SourceMemberManagerInterface | ||||
|     /** | ||||
|      * {@inheritdoc} | ||||
|      * | ||||
|      * @see \Infinito\Domain\SourceManagement\SourceMemberManagerInterface::removeMembership() | ||||
|      * @see \Infinito\Domain\Source\SourceMemberManagerInterface::removeMembership() | ||||
|      */ | ||||
|     public function removeMembership(SourceInterface $membership): void | ||||
|     { | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Infinito\Domain\SourceManagement; | ||||
| namespace Infinito\Domain\Source; | ||||
| 
 | ||||
| use Infinito\Entity\Source\SourceInterface; | ||||
| 
 | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Infinito\Domain\SourceManagement; | ||||
| namespace Infinito\Domain\Source; | ||||
| 
 | ||||
| use Doctrine\Common\Collections\Collection; | ||||
| use Infinito\Entity\Source\SourceInterface; | ||||
| @@ -46,7 +46,7 @@ final class SourceMembershipInformation implements SourceMembershipInformationIn | ||||
|     /** | ||||
|      * {@inheritdoc} | ||||
|      * | ||||
|      * @see \Infinito\Domain\SourceManagement\SourceMembershipInformationInterface::getAllMemberships() | ||||
|      * @see \Infinito\Domain\Source\SourceMembershipInformationInterface::getAllMemberships() | ||||
|      */ | ||||
|     public function getAllMemberships(): Collection | ||||
|     { | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Infinito\Domain\SourceManagement; | ||||
| namespace Infinito\Domain\Source; | ||||
| 
 | ||||
| use Doctrine\Common\Collections\Collection; | ||||
| use Infinito\Entity\Source\SourceInterface; | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Infinito\Domain\SourceManagement; | ||||
| namespace Infinito\Domain\Source; | ||||
| 
 | ||||
| use Infinito\Entity\Meta\RightInterface; | ||||
| use Infinito\Entity\Source\SourceInterface; | ||||
| @@ -57,7 +57,7 @@ final class SourceRightManager implements SourceRightManagerInterface | ||||
|     /** | ||||
|      * {@inheritdoc} | ||||
|      * | ||||
|      * @see \Infinito\Domain\SourceManagement\SourceRightManagerInterface::addRight() | ||||
|      * @see \Infinito\Domain\Source\SourceRightManagerInterface::addRight() | ||||
|      */ | ||||
|     public function addRight(RightInterface $right): void | ||||
|     { | ||||
| @@ -73,7 +73,7 @@ final class SourceRightManager implements SourceRightManagerInterface | ||||
|     /** | ||||
|      * {@inheritdoc} | ||||
|      * | ||||
|      * @see \Infinito\Domain\SourceManagement\SourceRightManagerInterface::removeRight() | ||||
|      * @see \Infinito\Domain\Source\SourceRightManagerInterface::removeRight() | ||||
|      */ | ||||
|     public function removeRight(RightInterface $right): void | ||||
|     { | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Infinito\Domain\SourceManagement; | ||||
| namespace Infinito\Domain\Source; | ||||
| 
 | ||||
| use Infinito\Entity\Meta\RightInterface; | ||||
| 
 | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Infinito\Domain\SourceManagement; | ||||
| namespace Infinito\Domain\Source; | ||||
| 
 | ||||
| use Infinito\Entity\Source\Complex\Collection\TreeCollectionSourceInterface; | ||||
| use Infinito\Entity\Source\Complex\Collection\TreeCollectionSource; | ||||
| @@ -71,7 +71,7 @@ final class TreeSourceInformation implements TreeSourceInformationInterface | ||||
|     /** | ||||
|      * {@inheritdoc} | ||||
|      * | ||||
|      * @see \Infinito\Domain\SourceManagement\TreeSourceInformationInterface::getBranches() | ||||
|      * @see \Infinito\Domain\Source\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 \Infinito\Domain\SourceManagement\TreeSourceInformationInterface::getAllBranches() | ||||
|      * @see \Infinito\Domain\Source\TreeSourceInformationInterface::getAllBranches() | ||||
|      */ | ||||
|     public function getAllBranches(): Collection | ||||
|     { | ||||
| @@ -114,7 +114,7 @@ final class TreeSourceInformation implements TreeSourceInformationInterface | ||||
|     /** | ||||
|      * {@inheritdoc} | ||||
|      * | ||||
|      * @see \Infinito\Domain\SourceManagement\TreeSourceInformationInterface::getLeaves() | ||||
|      * @see \Infinito\Domain\Source\TreeSourceInformationInterface::getLeaves() | ||||
|      */ | ||||
|     public function getLeaves(): Collection | ||||
|     { | ||||
| @@ -124,7 +124,7 @@ final class TreeSourceInformation implements TreeSourceInformationInterface | ||||
|     /** | ||||
|      * {@inheritdoc} | ||||
|      * | ||||
|      * @see \Infinito\Domain\SourceManagement\TreeSourceInformationInterface::getAllLeaves() | ||||
|      * @see \Infinito\Domain\Source\TreeSourceInformationInterface::getAllLeaves() | ||||
|      */ | ||||
|     public function getAllLeaves(): Collection | ||||
|     { | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Infinito\Domain\SourceManagement; | ||||
| namespace Infinito\Domain\Source; | ||||
| 
 | ||||
| use Doctrine\Common\Collections\Collection; | ||||
| 
 | ||||
| @@ -5,7 +5,7 @@ namespace Infinito\Form\Type; | ||||
| use Infinito\Form\AbstractType; | ||||
| use Symfony\Component\OptionsResolver\OptionsResolver; | ||||
| use Symfony\Component\Form\Extension\Core\Type\ChoiceType; | ||||
| use Infinito\Domain\SourceManagement\SourceClassInformationService; | ||||
| use Infinito\Domain\Source\SourceClassInformationService; | ||||
|  | ||||
| /** | ||||
|  * @author kevinfrantz | ||||
|   | ||||
| @@ -1,13 +1,13 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Tests\Integration\Domain\SourceManagement; | ||||
| namespace Tests\Integration\Domain\Source; | ||||
| 
 | ||||
| use PHPUnit\Framework\TestCase; | ||||
| use Infinito\Entity\Source\SourceInterface; | ||||
| use Infinito\Domain\SourceManagement\SourceMemberManagerInterface; | ||||
| use Infinito\Domain\SourceManagement\SourceMemberManager; | ||||
| use Infinito\Domain\SourceManagement\SourceMemberInformation; | ||||
| use Infinito\Domain\SourceManagement\SourceMembershipInformation; | ||||
| use Infinito\Domain\Source\SourceMemberManagerInterface; | ||||
| use Infinito\Domain\Source\SourceMemberManager; | ||||
| use Infinito\Domain\Source\SourceMemberInformation; | ||||
| use Infinito\Domain\Source\SourceMembershipInformation; | ||||
| use Infinito\Entity\Source\PureSource; | ||||
| 
 | ||||
| class SourceMemberManagerIntegrationTest extends TestCase | ||||
| @@ -13,7 +13,7 @@ use Infinito\Entity\Meta\Law; | ||||
| use Infinito\Entity\Meta\LawInterface; | ||||
| use Infinito\Entity\Meta\RightInterface; | ||||
| use Doctrine\Common\Collections\ArrayCollection; | ||||
| use Infinito\Domain\SourceManagement\SourceMemberManager; | ||||
| use Infinito\Domain\Source\SourceMemberManager; | ||||
| use Infinito\Entity\Source\PureSource; | ||||
|  | ||||
| /** | ||||
|   | ||||
| @@ -1,9 +1,9 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace tests\Unit\Domain\SourceManagement; | ||||
| namespace tests\Unit\Domain\Source; | ||||
| 
 | ||||
| use Infinito\Domain\SourceManagement\SourceClassInformationServiceInterface; | ||||
| use Infinito\Domain\SourceManagement\SourceClassInformationService; | ||||
| use Infinito\Domain\Source\SourceClassInformationServiceInterface; | ||||
| use Infinito\Domain\Source\SourceClassInformationService; | ||||
| use PHPUnit\Framework\TestCase; | ||||
| use Infinito\Entity\Source\PureSource; | ||||
| use Infinito\Entity\Source\Complex\AbstractComplexSource; | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Tests\Unit\Domain\SourceManagement; | ||||
| namespace Tests\Unit\Domain\Source; | ||||
| 
 | ||||
| use PHPUnit\Framework\TestCase; | ||||
| use Infinito\Entity\Source\SourceInterface; | ||||
| @@ -9,8 +9,8 @@ use Infinito\Entity\Source\Primitive\Text\TextSource; | ||||
| use Infinito\Entity\Source\Primitive\Name\FirstNameSource; | ||||
| use Doctrine\Common\Collections\ArrayCollection; | ||||
| use Infinito\Entity\Source\Complex\FullPersonNameSource; | ||||
| use Infinito\Domain\SourceManagement\SourceMemberInformation; | ||||
| use Infinito\Domain\SourceManagement\SourceMemberInformationInterface; | ||||
| use Infinito\Domain\Source\SourceMemberInformation; | ||||
| use Infinito\Domain\Source\SourceMemberInformationInterface; | ||||
| use Infinito\Entity\Source\PureSource; | ||||
| 
 | ||||
| class SourceMemberInformationTest extends TestCase | ||||
| @@ -1,11 +1,11 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Tests\Unit\Domain\SourceManagement; | ||||
| namespace Tests\Unit\Domain\Source; | ||||
| 
 | ||||
| use PHPUnit\Framework\TestCase; | ||||
| use Infinito\Entity\Source\SourceInterface; | ||||
| use Infinito\Domain\SourceManagement\SourceMemberManagerInterface; | ||||
| use Infinito\Domain\SourceManagement\SourceMemberManager; | ||||
| use Infinito\Domain\Source\SourceMemberManagerInterface; | ||||
| use Infinito\Domain\Source\SourceMemberManager; | ||||
| use Infinito\Entity\Source\PureSource; | ||||
| 
 | ||||
| class SourceMemberManagerTest extends TestCase | ||||
| @@ -1,10 +1,10 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Tests\Unit\Domain\SourceManagement; | ||||
| namespace Tests\Unit\Domain\Source; | ||||
| 
 | ||||
| use PHPUnit\Framework\TestCase; | ||||
| use Infinito\Domain\SourceManagement\SourceMembershipInformationInterface; | ||||
| use Infinito\Domain\SourceManagement\SourceMembershipInformation; | ||||
| use Infinito\Domain\Source\SourceMembershipInformationInterface; | ||||
| use Infinito\Domain\Source\SourceMembershipInformation; | ||||
| use Infinito\Entity\Source\SourceInterface; | ||||
| use Infinito\Entity\Source\Complex\UserSource; | ||||
| use Infinito\Entity\Source\Primitive\Text\TextSource; | ||||
| @@ -1,11 +1,11 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Unit\Domain\SourceManagement; | ||||
| namespace Unit\Domain\Source; | ||||
| 
 | ||||
| use PHPUnit\Framework\TestCase; | ||||
| use Infinito\Entity\Source\SourceInterface; | ||||
| use Infinito\Domain\SourceManagement\SourceRightManagerInterface; | ||||
| use Infinito\Domain\SourceManagement\SourceRightManager; | ||||
| use Infinito\Domain\Source\SourceRightManagerInterface; | ||||
| use Infinito\Domain\Source\SourceRightManager; | ||||
| use Infinito\Entity\Meta\RightInterface; | ||||
| use Infinito\Entity\Meta\Right; | ||||
| use Infinito\Entity\Meta\Law; | ||||
| @@ -1,13 +1,13 @@ | ||||
| <?php | ||||
| 
 | ||||
| namespace Tests\Unit\Domain\SourceManagement; | ||||
| namespace Tests\Unit\Domain\Source; | ||||
| 
 | ||||
| use PHPUnit\Framework\TestCase; | ||||
| use Infinito\Entity\Source\Complex\Collection\TreeCollectionSource; | ||||
| use Infinito\Entity\Source\SourceInterface; | ||||
| use Doctrine\Common\Collections\ArrayCollection; | ||||
| use Infinito\Domain\SourceManagement\TreeSourceInformationInterface; | ||||
| use Infinito\Domain\SourceManagement\TreeSourceInformation; | ||||
| use Infinito\Domain\Source\TreeSourceInformationInterface; | ||||
| use Infinito\Domain\Source\TreeSourceInformation; | ||||
| 
 | ||||
| class TreeSourceInformationTest extends TestCase | ||||
| { | ||||
| @@ -5,7 +5,7 @@ namespace tests\Unit\Repository\Source; | ||||
| use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase; | ||||
| use Doctrine\ORM\EntityManager; | ||||
| use Infinito\Entity\Source\Complex\UserSource; | ||||
| use Infinito\Domain\SourceManagement\SourceMemberManager; | ||||
| use Infinito\Domain\Source\SourceMemberManager; | ||||
|  | ||||
| /** | ||||
|  * @todo refactor this to an integration test! | ||||
|   | ||||
		Reference in New Issue
	
	Block a user