From a4951da3f750001b459daf84243d744b4ee6f4e8 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Sun, 6 Oct 2024 00:12:57 -0700 Subject: [PATCH] Move code to EconumoBundle --- config/code-templates/Api/ControllerGET.php | 8 +-- config/code-templates/Api/ControllerPOST.php | 8 +-- config/code-templates/Api/Form.php | 2 +- config/code-templates/Api/Service.php | 2 +- config/packages/doctrine.yaml | 46 ++++++------- config/packages/doctrine_migrations.yaml | 4 +- config/packages/messenger.yaml | 14 ++-- config/packages/security.yaml | 6 +- config/routes/annotations.yaml | 2 +- config/services.yaml | 43 +++++++------ .../CreateBudgetV1ResultAssembler.php | 24 ------- .../UpdatePayeeV1ResultAssembler.php | 18 ------ src/Domain/Entity/ValueObject/AccountName.php | 9 --- .../Entity/ValueObject/BudgetEnvelopeName.php | 9 --- .../Entity/ValueObject/BudgetFolderName.php | 9 --- src/Domain/Entity/ValueObject/BudgetName.php | 9 --- .../Entity/ValueObject/CategoryName.php | 10 --- src/Domain/Entity/ValueObject/FolderName.php | 9 --- src/Domain/Entity/ValueObject/PayeeName.php | 10 --- src/Domain/Entity/ValueObject/TagName.php | 9 --- .../Exception/AccessDeniedException.php | 9 --- .../Exception/AccountAccessException.php | 9 --- .../CategoryAlreadyExistsException.php | 9 --- .../Exception/EnvelopeIsNotEmptyException.php | 9 --- .../FolderAlreadyExistsException.php | 9 --- .../Exception/LastFolderRemoveException.php | 9 --- src/Domain/Exception/NotFoundException.php | 9 --- .../Exception/PayeeAlreadyExistsException.php | 9 --- .../Exception/PlanAlreadyExistsException.php | 9 --- .../PlanFolderIsNotEmptyException.php | 9 --- .../RecipientIsRequiredException.php | 11 ---- .../Exception/ReplaceCategoryException.php | 9 --- .../Exception/RevokeOwnerAccessException.php | 9 --- .../Exception/TagAlreadyExistsException.php | 9 --- src/Domain/Exception/UserOptionException.php | 9 --- .../UserPasswordNotValidException.php | 9 --- .../Exception/UserRegisteredException.php | 9 --- .../UserRegistrationDisabledException.php | 9 --- .../Factory/AccountAccessFactoryInterface.php | 15 ----- .../AccountAccessInviteFactoryInterface.php | 15 ----- .../Factory/AccountFactoryInterface.php | 22 ------- .../Factory/CategoryFactoryInterface.php | 15 ----- .../Factory/CurrencyFactoryInterface.php | 15 ----- src/Domain/Factory/FolderFactoryInterface.php | 13 ---- .../PasswordUserRequestFactoryInterface.php | 13 ---- src/Domain/Factory/PayeeFactoryInterface.php | 16 ----- src/Domain/Factory/TagFactoryInterface.php | 16 ----- .../AccountAccessInviteServiceInterface.php | 18 ------ src/Domain/Service/Budget/Dto/BudgetDto.php | 16 ----- .../Account/AccountListService.php | 24 +++---- .../Application/Account/AccountService.php | 38 +++++------ ...AccountIdToSharedAccessResultAssembler.php | 10 +-- .../AccountToDtoV1ResultAssembler.php | 17 ++--- .../CreateAccountV1ResultAssembler.php | 11 ++-- .../CreateFolderV1ResultAssembler.php | 9 +-- .../DeleteAccountV1ResultAssembler.php | 6 +- .../FolderIdToDtoV1ResultAssembler.php | 9 +-- .../FolderToDtoV1ResultAssembler.php | 6 +- .../GetAccountListV1ResultAssembler.php | 11 ++-- .../GetFolderListV1ResultAssembler.php | 9 +-- .../Assembler/HideFolderV1ResultAssembler.php | 6 +- .../OrderAccountListV1ResultAssembler.php | 11 ++-- .../OrderFolderListV1ResultAssembler.php | 11 ++-- .../ReplaceFolderV1ResultAssembler.php | 6 +- .../Assembler/ShowFolderV1ResultAssembler.php | 6 +- .../UpdateAccountV1ResultAssembler.php | 15 +++-- .../UpdateFolderV1ResultAssembler.php | 9 +-- .../Account/Dto/AccountRequestDto.php | 2 +- .../Account/Dto/AccountResultDto.php | 7 +- .../Account/Dto/CreateAccountV1RequestDto.php | 2 +- .../Account/Dto/CreateAccountV1ResultDto.php | 3 +- .../Account/Dto/CreateFolderV1RequestDto.php | 2 +- .../Account/Dto/CreateFolderV1ResultDto.php | 3 +- .../Account/Dto/DeleteAccountV1RequestDto.php | 2 +- .../Account/Dto/DeleteAccountV1ResultDto.php | 2 +- .../Account/Dto/FolderResultDto.php | 2 +- .../Dto/GetAccountListV1RequestDto.php | 2 +- .../Account/Dto/GetAccountListV1ResultDto.php | 3 +- .../Account/Dto/GetFolderListV1RequestDto.php | 2 +- .../Account/Dto/GetFolderListV1ResultDto.php | 3 +- .../Account/Dto/HideFolderV1RequestDto.php | 2 +- .../Account/Dto/HideFolderV1ResultDto.php | 2 +- .../Dto/OrderAccountListV1RequestDto.php | 6 +- .../Dto/OrderAccountListV1ResultDto.php | 3 +- .../Dto/OrderFolderListV1RequestDto.php | 6 +- .../Dto/OrderFolderListV1ResultDto.php | 3 +- .../Account/Dto/ReplaceFolderV1RequestDto.php | 2 +- .../Account/Dto/ReplaceFolderV1ResultDto.php | 2 +- .../Account/Dto/SharedAccessItemResultDto.php | 4 +- .../Account/Dto/ShowFolderV1RequestDto.php | 2 +- .../Account/Dto/ShowFolderV1ResultDto.php | 2 +- .../Account/Dto/UpdateAccountV1RequestDto.php | 2 +- .../Account/Dto/UpdateAccountV1ResultDto.php | 6 +- .../Account/Dto/UpdateFolderV1RequestDto.php | 2 +- .../Account/Dto/UpdateFolderV1ResultDto.php | 3 +- .../Application/Account/FolderListService.php | 24 +++---- .../Application/Account/FolderService.php | 42 ++++++------ .../Assembler/GetBalanceV1ResultAssembler.php | 10 +-- .../Application/Analytics/BalanceService.php | 12 ++-- .../Analytics/Dto/BalanceResultDto.php | 2 +- .../Analytics/Dto/GetBalanceV1RequestDto.php | 2 +- .../Analytics/Dto/GetBalanceV1ResultDto.php | 3 +- .../Application/Budget/AccountService.php | 22 +++---- .../BudgetAccessToResultDtoAssembler.php | 8 +-- ...BudgetChildElementToResultDtoAssembler.php | 7 +- ...dgetCurrencyAmountToResultDtoAssembler.php | 6 +- ...getCurrencyBalanceToResultDtoAssembler.php | 6 +- .../BudgetDtoToResultDtoAssembler.php | 10 ++- .../BudgetEnvelopeToResultDtoAssembler.php | 6 +- .../BudgetFiltersToResultDtoAssembler.php | 6 +- .../BudgetFolderToResultDtoAssembler.php | 6 +- .../BudgetMetaToResultDtoAssembler.php | 7 +- ...udgetParentElementToResultDtoAssembler.php | 12 ++-- .../BudgetStructureToResultDtoAssembler.php | 8 ++- .../CreateBudgetV1ResultAssembler.php | 25 ++++++++ .../DeleteBudgetV1ResultAssembler.php | 6 +- .../ExcludeAccountV1ResultAssembler.php | 7 +- .../GetBudgetListV1ResultAssembler.php | 7 +- .../Assembler/GetBudgetV1ResultAssembler.php | 7 +- .../IncludeAccountV1ResultAssembler.php | 7 +- .../ResetBudgetV1ResultAssembler.php | 7 +- .../UpdateBudgetV1ResultAssembler.php | 7 +- .../Application/Budget/BudgetListService.php | 12 ++-- .../Application/Budget/BudgetService.php | 50 ++++++++------- .../Budget/Dto/BudgeFiltersResultDto.php | 2 +- .../Budget/Dto/BudgetCurrencyAmountDto.php | 2 +- .../Dto/BudgetCurrencyBalanceResultDto.php | 2 +- .../Budget/Dto/BudgetFolderResultDto.php | 2 +- .../Budget/Dto/BudgetMetaResultDto.php | 3 +- .../Budget/Dto/BudgetResultDto.php | 6 +- .../Dto/BudgetSharedAccessResultDto.php | 4 +- .../BudgetStructureChildElementResultDto.php | 2 +- .../BudgetStructureParentElementResultDto.php | 7 +- .../Budget/Dto/BudgetStructureResultDto.php | 3 +- .../Budget/Dto/CreateBudgetV1RequestDto.php | 12 +++- .../Budget/Dto/CreateBudgetV1ResultDto.php | 5 +- .../Budget/Dto/DeleteBudgetV1RequestDto.php | 2 +- .../Budget/Dto/DeleteBudgetV1ResultDto.php | 2 +- .../Budget/Dto/ExcludeAccountV1RequestDto.php | 2 +- .../Budget/Dto/ExcludeAccountV1ResultDto.php | 3 +- .../Budget/Dto/GetBudgetListV1RequestDto.php | 2 +- .../Budget/Dto/GetBudgetListV1ResultDto.php | 3 +- .../Budget/Dto/GetBudgetV1RequestDto.php | 2 +- .../Budget/Dto/GetBudgetV1ResultDto.php | 3 +- .../Budget/Dto/IncludeAccountV1RequestDto.php | 2 +- .../Budget/Dto/IncludeAccountV1ResultDto.php | 3 +- .../Budget/Dto/ResetBudgetV1RequestDto.php | 2 +- .../Budget/Dto/ResetBudgetV1ResultDto.php | 3 +- .../Budget/Dto/UpdateBudgetV1RequestDto.php | 2 +- .../Budget/Dto/UpdateBudgetV1ResultDto.php | 3 +- .../ArchiveCategoryV1ResultAssembler.php | 6 +- ...goryIdToUserCategoryDtoResultAssembler.php | 9 +-- .../CreateCategoryV1ResultAssembler.php | 9 +-- .../DeleteCategoryV1ResultAssembler.php | 6 +- .../GetCategoryListV1ResultAssembler.php | 9 +-- .../OrderCategoryListV1ResultAssembler.php | 11 ++-- .../UnarchiveCategoryV1ResultAssembler.php | 6 +- .../UpdateCategoryV1ResultAssembler.php | 6 +- .../UserCategoryToDtoResultAssembler.php | 6 +- .../Category/CategoryListService.php | 24 +++---- .../Application/Category/CategoryService.php | 52 +++++++-------- .../Dto/ArchiveCategoryV1RequestDto.php | 2 +- .../Dto/ArchiveCategoryV1ResultDto.php | 2 +- .../Category/Dto/CategoryResultDto.php | 2 +- .../Dto/CreateCategoryV1RequestDto.php | 2 +- .../Dto/CreateCategoryV1ResultDto.php | 4 +- .../Dto/DeleteCategoryV1RequestDto.php | 2 +- .../Dto/DeleteCategoryV1ResultDto.php | 2 +- .../Dto/GetCategoryListV1RequestDto.php | 2 +- .../Dto/GetCategoryListV1ResultDto.php | 3 +- .../Dto/OrderCategoryListV1RequestDto.php | 6 +- .../Dto/OrderCategoryListV1ResultDto.php | 3 +- .../Dto/UnarchiveCategoryV1RequestDto.php | 2 +- .../Dto/UnarchiveCategoryV1ResultDto.php | 2 +- .../Dto/UpdateCategoryV1RequestDto.php | 2 +- .../Dto/UpdateCategoryV1ResultDto.php | 2 +- .../Connection/AccountAccessService.php | 26 ++++---- .../AcceptInviteV1ResultAssembler.php | 21 +++--- .../AccountAccessToDtoResultAssembler.php | 6 +- .../ConnectionInviteToDtoResultAssembler.php | 6 +- .../DeleteConnectionV1ResultAssembler.php | 6 +- .../DeleteInviteV1ResultAssembler.php | 6 +- .../GenerateInviteV1ResultAssembler.php | 9 +-- .../GetConnectionListV1ResultAssembler.php | 17 ++--- .../RevokeAccountAccessV1ResultAssembler.php | 6 +- .../SetAccountAccessV1ResultAssembler.php | 6 +- .../Connection/ConnectionListService.php | 14 ++-- .../Connection/ConnectionService.php | 12 ++-- .../Dto/AcceptInviteV1RequestDto.php | 2 +- .../Dto/AcceptInviteV1ResultDto.php | 3 +- .../Connection/Dto/AccountAccessResultDto.php | 2 +- .../Dto/ConnectionInviteResultDto.php | 2 +- .../Connection/Dto/ConnectionResultDto.php | 5 +- .../Dto/DeleteConnectionV1RequestDto.php | 2 +- .../Dto/DeleteConnectionV1ResultDto.php | 2 +- .../Dto/DeleteInviteV1RequestDto.php | 2 +- .../Dto/DeleteInviteV1ResultDto.php | 2 +- .../Dto/GenerateInviteV1RequestDto.php | 2 +- .../Dto/GenerateInviteV1ResultDto.php | 3 +- .../Dto/GetConnectionListV1RequestDto.php | 2 +- .../Dto/GetConnectionListV1ResultDto.php | 3 +- .../Dto/RevokeAccountAccessV1RequestDto.php | 2 +- .../Dto/RevokeAccountAccessV1ResultDto.php | 2 +- .../Dto/SetAccountAccessV1RequestDto.php | 2 +- .../Dto/SetAccountAccessV1ResultDto.php | 2 +- .../Application/Connection/InviteService.php | 30 ++++----- .../CurrencyIdToDtoV1ResultAssembler.php | 8 +-- .../CurrencyRateToDtoV1ResultAssembler.php | 6 +- .../CurrencyToDtoV1ResultAssembler.php | 6 +- .../GetCurrencyListV1ResultAssembler.php | 9 +-- .../GetCurrencyRateListV1ResultAssembler.php | 9 +-- .../Currency/CurrencyListService.php | 12 ++-- .../Currency/CurrencyRateListService.php | 12 ++-- .../Currency/Dto/CurrencyRateResultDto.php | 2 +- .../Currency/Dto/CurrencyResultDto.php | 2 +- .../Dto/GetCurrencyListV1RequestDto.php | 2 +- .../Dto/GetCurrencyListV1ResultDto.php | 3 +- .../Dto/GetCurrencyRateListV1RequestDto.php | 2 +- .../Dto/GetCurrencyRateListV1ResultDto.php | 3 +- .../Exception/AccessDeniedException.php | 2 +- .../Exception/ApplicationException.php | 2 +- .../Exception/ValidationException.php | 5 +- .../ArchivePayeeV1ResultAssembler.php | 6 +- .../CreatePayeeV1ResultAssembler.php | 10 +-- .../DeletePayeeV1ResultAssembler.php | 6 +- .../GetPayeeListV1ResultAssembler.php | 9 +-- .../OrderPayeeListV1ResultAssembler.php | 11 ++-- .../PayeeIdToDtoV1ResultAssembler.php | 9 +-- .../Assembler/PayeeToDtoV1ResultAssembler.php | 6 +- .../UnarchivePayeeV1ResultAssembler.php | 6 +- .../UpdatePayeeV1ResultAssembler.php | 18 ++++++ .../Payee/Dto/ArchivePayeeV1RequestDto.php | 2 +- .../Payee/Dto/ArchivePayeeV1ResultDto.php | 2 +- .../Payee/Dto/CreatePayeeV1RequestDto.php | 2 +- .../Payee/Dto/CreatePayeeV1ResultDto.php | 4 +- .../Payee/Dto/DeletePayeeV1RequestDto.php | 2 +- .../Payee/Dto/DeletePayeeV1ResultDto.php | 2 +- .../Payee/Dto/GetPayeeListV1RequestDto.php | 2 +- .../Payee/Dto/GetPayeeListV1ResultDto.php | 3 +- .../Payee/Dto/OrderPayeeListV1RequestDto.php | 6 +- .../Payee/Dto/OrderPayeeListV1ResultDto.php | 3 +- .../Application/Payee/Dto/PayeeResultDto.php | 2 +- .../Payee/Dto/UnarchivePayeeV1RequestDto.php | 2 +- .../Payee/Dto/UnarchivePayeeV1ResultDto.php | 2 +- .../Payee/Dto/UpdatePayeeV1RequestDto.php | 2 +- .../Payee/Dto/UpdatePayeeV1ResultDto.php | 2 +- .../Application/Payee/PayeeListService.php | 24 +++---- .../Application/Payee/PayeeService.php | 50 +++++++-------- .../ImportCurrencyListV1ResultAssembler.php | 6 +- .../ImportCurrencyRatesV1ResultAssembler.php | 6 +- .../System/CurrencyListService.php | 14 ++-- .../System/CurrencyRatesService.php | 14 ++-- .../System/Dto/CurrencyRateRequestDto.php | 2 +- .../Dto/ImportCurrencyListV1RequestDto.php | 2 +- .../Dto/ImportCurrencyListV1ResultDto.php | 2 +- .../Dto/ImportCurrencyRatesV1RequestDto.php | 5 +- .../Dto/ImportCurrencyRatesV1ResultDto.php | 2 +- .../Assembler/ArchiveTagV1ResultAssembler.php | 6 +- .../Assembler/CreateTagV1ResultAssembler.php | 10 +-- .../Assembler/DeleteTagV1ResultAssembler.php | 6 +- .../Assembler/GetTagListV1ResultAssembler.php | 9 +-- .../OrderTagListV1ResultAssembler.php | 11 ++-- .../TagIdToUserTagDtoResultAssembler.php | 9 +-- .../TagToUserTagDtoResultAssembler.php | 6 +- .../UnarchiveTagV1ResultAssembler.php | 6 +- .../Assembler/UpdateTagV1ResultAssembler.php | 9 +-- .../Tag/Dto/ArchiveTagV1RequestDto.php | 2 +- .../Tag/Dto/ArchiveTagV1ResultDto.php | 2 +- .../Tag/Dto/CreateTagV1RequestDto.php | 2 +- .../Tag/Dto/CreateTagV1ResultDto.php | 3 +- .../Tag/Dto/DeleteTagV1RequestDto.php | 2 +- .../Tag/Dto/DeleteTagV1ResultDto.php | 2 +- .../Tag/Dto/GetTagListV1RequestDto.php | 2 +- .../Tag/Dto/GetTagListV1ResultDto.php | 3 +- .../Tag/Dto/OrderTagListV1RequestDto.php | 6 +- .../Tag/Dto/OrderTagListV1ResultDto.php | 3 +- .../Application/Tag/Dto/TagResultDto.php | 2 +- .../Tag/Dto/UnarchiveTagV1RequestDto.php | 2 +- .../Tag/Dto/UnarchiveTagV1ResultDto.php | 2 +- .../Tag/Dto/UpdateTagV1RequestDto.php | 2 +- .../Tag/Dto/UpdateTagV1ResultDto.php | 3 +- .../Application/Tag/TagListService.php | 26 ++++---- .../Application/Tag/TagService.php | 50 +++++++-------- .../CreateTransactionV1ResultAssembler.php | 15 +++-- .../DeleteTransactionV1ResultAssembler.php | 15 +++-- .../GetTransactionListV1ResultAssembler.php | 11 ++-- .../Assembler/RequestToDomainDtoAssembler.php | 18 +++--- .../TransactionToDtoResultAssembler.php | 10 +-- ...TransactionRequestToDomainDtoAssembler.php | 18 +++--- .../UpdateTransactionV1ResultAssembler.php | 15 +++-- .../Dto/CreateTransactionV1RequestDto.php | 2 +- .../Dto/CreateTransactionV1ResultDto.php | 5 +- .../Dto/DeleteTransactionV1RequestDto.php | 2 +- .../Dto/DeleteTransactionV1ResultDto.php | 5 +- .../Dto/GetTransactionListV1RequestDto.php | 2 +- .../Dto/GetTransactionListV1ResultDto.php | 3 +- .../Transaction/Dto/TransactionResultDto.php | 10 +-- .../Dto/UpdateTransactionV1RequestDto.php | 2 +- .../Dto/UpdateTransactionV1ResultDto.php | 5 +- .../Transaction/TransactionListService.php | 16 ++--- .../Transaction/TransactionService.php | 36 +++++------ .../CurrentUserIdToDtoResultAssembler.php | 9 +-- .../CurrentUserToDtoResultAssembler.php | 10 +-- .../GetChangesListV1ResultAssembler.php | 40 ++++++------ .../GetOptionListV1ResultAssembler.php | 9 +-- .../GetUserDataV1ResultAssembler.php | 9 +-- .../Assembler/LoginUserV1ResultAssembler.php | 7 +- .../Assembler/LogoutUserV1ResultAssembler.php | 6 +- .../Assembler/OptionToDtoResultAssembler.php | 6 +- .../RegisterUserV1ResultAssembler.php | 9 +-- .../RemindPasswordV1ResultAssembler.php | 6 +- .../ResetPasswordV1ResultAssembler.php | 6 +- .../UpdateBudgetV1ResultAssembler.php | 9 +-- .../UpdateCurrencyV1ResultAssembler.php | 9 +-- .../Assembler/UpdateNameV1ResultAssembler.php | 9 +-- .../UpdatePasswordV1ResultAssembler.php | 6 +- .../UpdateReportPeriodV1ResultAssembler.php | 9 +-- .../Assembler/UserIdToDtoResultAssembler.php | 9 +-- .../Assembler/UserToDtoResultAssembler.php | 6 +- .../Application/User/BudgetService.php | 18 +++--- .../Application/User/CurrencyService.php | 16 ++--- .../User/Dto/CurrentUserResultDto.php | 3 +- .../User/Dto/GetOptionListV1RequestDto.php | 2 +- .../User/Dto/GetOptionListV1ResultDto.php | 3 +- .../User/Dto/GetUserDataV1RequestDto.php | 2 +- .../User/Dto/GetUserDataV1ResultDto.php | 3 +- .../User/Dto/LoginUserV1RequestDto.php | 2 +- .../User/Dto/LoginUserV1ResultDto.php | 3 +- .../User/Dto/LogoutUserV1RequestDto.php | 2 +- .../User/Dto/LogoutUserV1ResultDto.php | 2 +- .../Application/User/Dto/OptionResultDto.php | 2 +- .../User/Dto/RegisterUserV1RequestDto.php | 2 +- .../User/Dto/RegisterUserV1ResultDto.php | 3 +- .../User/Dto/RemindPasswordV1RequestDto.php | 2 +- .../User/Dto/RemindPasswordV1ResultDto.php | 2 +- .../User/Dto/ResetPasswordV1RequestDto.php | 2 +- .../User/Dto/ResetPasswordV1ResultDto.php | 2 +- .../User/Dto/UpdateBudgetV1RequestDto.php | 2 +- .../User/Dto/UpdateBudgetV1ResultDto.php | 3 +- .../User/Dto/UpdateCurrencyV1RequestDto.php | 2 +- .../User/Dto/UpdateCurrencyV1ResultDto.php | 3 +- .../User/Dto/UpdateNameV1RequestDto.php | 2 +- .../User/Dto/UpdateNameV1ResultDto.php | 3 +- .../User/Dto/UpdatePasswordV1RequestDto.php | 2 +- .../User/Dto/UpdatePasswordV1ResultDto.php | 2 +- .../Dto/UpdateReportPeriodV1RequestDto.php | 2 +- .../Dto/UpdateReportPeriodV1ResultDto.php | 3 +- .../Application/User/Dto/UserResultDto.php | 2 +- .../Application/User/NameService.php | 14 ++-- .../Application/User/OptionListService.php | 12 ++-- .../Application/User/PasswordService.php | 40 ++++++------ .../Application/User/ReportPeriodService.php | 16 ++--- .../Application/User/UserDataService.php | 12 ++-- .../Application/User/UserService.php | 32 +++++----- .../Command/CreateUserCommand.php | 8 +-- .../Command/MakeAPIMaker.php | 2 +- .../DataFixtures/AbstractFixture.php | 2 +- .../DataFixtures/AccountAccessFixtures.php | 5 +- .../DataFixtures/AccountFixtures.php | 5 +- .../DataFixtures/AccountOptionsFixtures.php | 5 +- .../DataFixtures/CategoryFixtures.php | 4 +- .../DataFixtures/ConnectionInviteFixtures.php | 4 +- .../DataFixtures/CurrencyFixtures.php | 4 +- .../DataFixtures/CurrencyRateFixtures.php | 4 +- .../DataFixtures/FolderAccountFixtures.php | 5 +- .../DataFixtures/FolderFixtures.php | 4 +- .../DataFixtures/PayeeFixtures.php | 4 +- .../DataFixtures/TagFixtures.php | 4 +- .../DataFixtures/TransactionFixtures.php | 8 ++- .../DataFixtures/UserConnectionFixtures.php | 4 +- .../DataFixtures/UserFixtures.php | 4 +- .../DataFixtures/UserOptionFixtures.php | 4 +- .../UserPasswordRequestFixtures.php | 4 +- .../Domain/Entity/Account.php | 19 +++--- .../Domain/Entity/AccountAccess.php | 10 +-- .../Domain/Entity/AccountAccessInvite.php | 10 +-- .../Domain/Entity/AccountOptions.php | 8 ++- .../Domain/Entity/Budget.php | 15 +++-- .../Domain/Entity/BudgetAccess.php | 10 +-- .../Domain/Entity/BudgetEntityAmount.php | 7 +- .../Domain/Entity/BudgetEntityOption.php | 9 ++- .../Domain/Entity/BudgetEnvelope.php | 18 +++--- .../Domain/Entity/BudgetFolder.php | 13 ++-- .../Domain/Entity/Category.php | 19 +++--- .../Domain/Entity/ConnectionInvite.php | 9 +-- .../Domain/Entity/Currency.php | 8 +-- .../Domain/Entity/CurrencyRate.php | 7 +- .../Domain/Entity/Folder.php | 16 +++-- .../Domain/Entity/Payee.php | 9 +-- src/{ => EconumoBundle}/Domain/Entity/Tag.php | 17 ++--- .../Domain/Entity/Transaction.php | 19 ++++-- .../Domain/Entity/User.php | 21 +++--- .../Domain/Entity/UserOption.php | 11 ++-- .../Domain/Entity/UserPasswordRequest.php | 15 +++-- .../Domain/Entity/ValueObject/AccountName.php | 11 ++++ .../Domain/Entity/ValueObject/AccountType.php | 2 +- .../Entity/ValueObject/AccountUserRole.php | 3 +- .../Entity/ValueObject/BudgetEntityType.php | 3 +- .../Entity/ValueObject/BudgetEnvelopeName.php | 11 ++++ .../Entity/ValueObject/BudgetFolderName.php | 11 ++++ .../Domain/Entity/ValueObject/BudgetName.php | 11 ++++ .../Entity/ValueObject/CategoryName.php | 12 ++++ .../Entity/ValueObject/CategoryType.php | 2 +- .../Entity/ValueObject/ConnectionCode.php | 7 +- .../Entity/ValueObject/CurrencyCode.php | 7 +- .../Domain/Entity/ValueObject/Email.php | 4 +- .../Domain/Entity/ValueObject/FolderName.php | 11 ++++ .../Domain/Entity/ValueObject/GenericName.php | 8 ++- .../Domain/Entity/ValueObject/Icon.php | 3 +- .../Domain/Entity/ValueObject/Id.php | 2 +- .../Domain/Entity/ValueObject/Identifier.php | 4 +- .../Entity/ValueObject/NameInterface.php | 2 +- .../Domain/Entity/ValueObject/PayeeName.php | 12 ++++ .../Entity/ValueObject/PlanPeriodType.php | 6 +- .../Entity/ValueObject/ReportPeriod.php | 7 +- .../Domain/Entity/ValueObject/TagName.php | 11 ++++ .../Entity/ValueObject/TransactionType.php | 2 +- .../ValueObject/UserPasswordRequestCode.php | 7 +- .../Domain/Entity/ValueObject/UserRole.php | 3 +- .../ValueObject/ValueObjectInterface.php | 2 +- .../Events/AccountFolderCreatedEvent.php | 4 +- .../Events/BudgetEnvelopeCreatedEvent.php | 8 +-- .../Events/BudgetFolderCreatedEvent.php | 4 +- .../Domain/Events/CategoryCreatedEvent.php | 4 +- .../Events/RemindPasswordRequestedEvent.php | 4 +- .../Domain/Events/TagCreatedEvent.php | 4 +- .../Domain/Events/UserRegisteredEvent.php | 4 +- .../Exception/AccessDeniedException.php | 11 ++++ .../Exception/AccountAccessException.php | 11 ++++ .../CategoryAlreadyExistsException.php | 11 ++++ .../Domain/Exception/DomainException.php | 3 +- .../Exception/DomainExceptionInterface.php | 2 +- .../Exception/EnvelopeIsNotEmptyException.php | 11 ++++ .../FolderAlreadyExistsException.php | 11 ++++ .../Exception/LastFolderRemoveException.php | 11 ++++ .../Domain/Exception/NotFoundException.php | 11 ++++ .../Exception/PayeeAlreadyExistsException.php | 11 ++++ .../Exception/PlanAlreadyExistsException.php | 11 ++++ .../PlanFolderIsNotEmptyException.php | 11 ++++ .../RecipientIsRequiredException.php | 13 ++++ .../Exception/ReplaceCategoryException.php | 11 ++++ .../Exception/RevokeOwnerAccessException.php | 11 ++++ .../Exception/TagAlreadyExistsException.php | 11 ++++ .../Domain/Exception/UserOptionException.php | 11 ++++ .../UserPasswordNotValidException.php | 11 ++++ .../UserPasswordRequestExpiredException.php | 4 +- .../Exception/UserRegisteredException.php | 11 ++++ .../UserRegistrationDisabledException.php | 11 ++++ .../Domain/Factory/AccountAccessFactory.php | 15 +++-- .../Factory/AccountAccessFactoryInterface.php | 15 +++++ .../Factory/AccountAccessInviteFactory.php | 15 +++-- .../AccountAccessInviteFactoryInterface.php | 15 +++++ .../Domain/Factory/AccountFactory.php | 21 +++--- .../Factory/AccountFactoryInterface.php | 22 +++++++ .../Domain/Factory/AccountOptionsFactory.php | 13 ++-- .../AccountOptionsFactoryInterface.php | 6 +- .../Factory/BudgetEntityOptionFactory.php | 17 ++--- .../BudgetEntityOptionFactoryInterface.php | 8 +-- .../Domain/Factory/BudgetFactory.php | 27 ++++---- .../Domain/Factory/BudgetFactoryInterface.php | 14 ++-- .../Domain/Factory/CategoryFactory.php | 19 +++--- .../Factory/CategoryFactoryInterface.php | 15 +++++ .../Factory/ConnectionInviteFactory.php | 7 +- .../ConnectionInviteFactoryInterface.php | 6 +- .../Factory/CurrencyFactoryInterface.php | 15 +++++ .../Domain/Factory/CurrencyRateFactory.php | 9 +-- .../Factory/CurrencyRateFactoryInterface.php | 6 +- .../Domain/Factory/FolderFactory.php | 15 +++-- .../Domain/Factory/FolderFactoryInterface.php | 13 ++++ .../PasswordUserRequestFactoryInterface.php | 13 ++++ .../Domain/Factory/PayeeFactory.php | 15 +++-- .../Domain/Factory/PayeeFactoryInterface.php | 16 +++++ .../Domain/Factory/TagFactory.php | 15 +++-- .../Domain/Factory/TagFactoryInterface.php | 16 +++++ .../Domain/Factory/TransactionFactory.php | 27 ++++---- .../Factory/TransactionFactoryInterface.php | 8 +-- .../Domain/Factory/UserFactoryInterface.php | 6 +- .../Domain/Factory/UserOptionFactory.php | 11 ++-- .../Factory/UserOptionFactoryInterface.php | 6 +- .../Factory/UserPasswordRequestFactory.php | 15 +++-- ...AccountAccessInviteRepositoryInterface.php | 8 +-- .../AccountAccessRepositoryInterface.php | 8 +-- .../AccountOptionsRepositoryInterface.php | 8 +-- .../Repository/AccountRepositoryInterface.php | 6 +- .../BudgetAccessRepositoryInterface.php | 8 +-- .../BudgetEntityAmountRepositoryInterface.php | 6 +- .../BudgetEntityOptionRepositoryInterface.php | 6 +- .../BudgetEnvelopeRepositoryInterface.php | 8 +-- .../BudgetFolderRepositoryInterface.php | 8 +-- .../Repository/BudgetRepositoryInterface.php | 6 +- .../CategoryRepositoryInterface.php | 6 +- .../ConnectionInviteRepositoryInterface.php | 10 +-- .../CurrencyRateRepositoryInterface.php | 6 +- .../CurrencyRepositoryInterface.php | 10 +-- .../Repository/FolderRepositoryInterface.php | 6 +- .../Repository/PayeeRepositoryInterface.php | 6 +- .../Repository/TagRepositoryInterface.php | 6 +- .../TransactionRepositoryInterface.php | 6 +- .../UserOptionRepositoryInterface.php | 6 +- ...UserPasswordRequestRepositoryInterface.php | 8 +-- .../Repository/UserRepositoryInterface.php | 10 +-- .../Service/AccountAccessInviteService.php | 36 ++++++----- .../AccountAccessInviteServiceInterface.php | 18 ++++++ .../Domain/Service/AccountAccessService.php | 15 +++-- .../Service/AccountAccessServiceInterface.php | 4 +- .../Domain/Service/AccountService.php | 37 ++++++----- .../Service/AccountServiceInterface.php | 16 ++--- .../Analytics/BalanceAnalyticsService.php | 17 ++--- .../BalanceAnalyticsServiceInterface.php | 6 +- .../AntiCorruptionServiceInterface.php | 2 +- .../AverageCurrencyRateDtoAssembler.php | 10 +-- .../Budget/Assembler/BudgetDtoAssembler.php | 13 ++-- .../BudgetElementsAmountDtoAssembler.php | 18 +++--- .../Assembler/BudgetFiltersDtoAssembler.php | 20 +++--- .../BudgetFinancialSummaryDtoAssembler.php | 16 +++-- .../Assembler/BudgetMetaDtoAssembler.php | 6 +- .../Assembler/BudgetStructureDtoAssembler.php | 37 +++++------ .../BudgetStructureFolderDtoAssembler.php | 6 +- .../Assembler/CurrencyBalanceDtoAssembler.php | 12 ++-- .../Service/Budget/BudgetAccessService.php | 11 ++-- .../Budget/BudgetAccessServiceInterface.php | 6 +- .../Service/Budget/BudgetDataService.php | 21 +++--- .../Service/Budget/BudgetDeletionService.php | 6 +- .../Service/Budget/BudgetEntityService.php | 19 +++--- .../Budget/BudgetEntityServiceInterface.php | 8 +-- .../Domain/Service/Budget/BudgetService.php | 64 +++++++++++++------ .../Service/Budget/BudgetServiceInterface.php | 18 ++++-- .../Service/Budget/BudgetStructureService.php | 10 +-- .../Budget/Dto/AverageCurrencyRateDto.php | 4 +- .../Service/Budget/Dto/BudgetCategoryDto.php | 10 +-- .../Service/Budget/Dto/BudgetDataDto.php | 7 +- .../Domain/Service/Budget/Dto/BudgetDto.php | 21 ++++++ .../Budget/Dto/BudgetEntityAmountDto.php | 7 +- .../Budget/Dto/BudgetEntityAmountSpentDto.php | 4 +- .../Budget/Dto/BudgetEntityOptionDto.php | 6 +- .../Service/Budget/Dto/BudgetEnvelopeDto.php | 8 +-- .../Service/Budget/Dto/BudgetFiltersDto.php | 8 +-- .../Budget/Dto/BudgetFinancialSummaryDto.php | 5 +- .../Service/Budget/Dto/BudgetMetaDto.php | 8 +-- .../Dto/BudgetStructureChildElementDto.php | 11 ++-- .../Service/Budget/Dto/BudgetStructureDto.php | 5 +- .../Budget/Dto/BudgetStructureFolderDto.php | 6 +- .../Dto/BudgetStructureParentElementDto.php | 14 ++-- .../Service/Budget/Dto/BudgetTagDto.php | 12 ++-- .../Service/Budget/Dto/CurrencyBalanceDto.php | 4 +- .../Domain/Service/CategoryService.php | 28 ++++---- .../Service/CategoryServiceInterface.php | 16 ++--- .../Connection/ConnectionAccountService.php | 23 +++---- .../ConnectionAccountServiceInterface.php | 8 +-- .../Connection/ConnectionInviteService.php | 19 +++--- .../ConnectionInviteServiceInterface.php | 8 +-- .../Service/Connection/ConnectionService.php | 14 ++-- .../Connection/ConnectionServiceInterface.php | 6 +- .../Service/Currency/CurrencyConvertor.php | 26 ++++---- .../Currency/CurrencyConvertorInterface.php | 8 +-- .../Service/Currency/CurrencyRateService.php | 19 +++--- .../Currency/CurrencyRateServiceInterface.php | 6 +- .../Currency/CurrencyRatesUpdateService.php | 19 +++--- .../CurrencyRatesUpdateServiceInterface.php | 4 +- .../Service/Currency/CurrencyService.php | 9 +-- .../Currency/CurrencyServiceInterface.php | 4 +- .../Currency/CurrencyUpdateService.php | 9 +-- .../CurrencyUpdateServiceInterface.php | 4 +- .../Currency/Dto/CurrencyConvertorDto.php | 4 +- .../Service/DatetimeServiceInterface.php | 2 +- .../Domain/Service/Dto/AccountDto.php | 4 +- .../Domain/Service/Dto/AccountPositionDto.php | 4 +- .../Service/Dto/BalanceAnalyticsDto.php | 2 +- .../Domain/Service/Dto/CurrencyDto.php | 4 +- .../Domain/Service/Dto/CurrencyRateDto.php | 4 +- .../Service/Dto/EnvelopePositionDto.php | 2 +- .../Service/Dto/FullCurrencyRateDto.php | 6 +- .../Domain/Service/Dto/PlanDataBalanceDto.php | 4 +- .../Service/Dto/PlanDataCategoryDto.php | 4 +- .../Service/Dto/PlanDataCurrencyRateDto.php | 4 +- .../Domain/Service/Dto/PlanDataDto.php | 12 +++- .../Service/Dto/PlanDataEnvelopeDto.php | 4 +- .../Service/Dto/PlanDataExchangeDto.php | 4 +- .../Domain/Service/Dto/PlanDataTagDto.php | 4 +- .../Domain/Service/Dto/PlanDto.php | 6 +- .../Domain/Service/Dto/PositionDto.php | 4 +- .../Domain/Service/Dto/TransactionDto.php | 16 ++--- .../Domain/Service/EmailServiceInterface.php | 6 +- .../Service/EventDispatcherInterface.php | 2 +- .../Domain/Service/EventHandlerInterface.php | 2 +- .../Domain/Service/FolderService.php | 24 +++---- .../Domain/Service/FolderServiceInterface.php | 10 +-- .../Domain/Service/MetricServiceInterface.php | 2 +- .../Service/PasswordUserReminderService.php | 20 +++--- .../PasswordUserReminderServiceInterface.php | 6 +- .../Domain/Service/PayeeService.php | 23 +++---- .../Domain/Service/PayeeServiceInterface.php | 10 +-- .../Domain/Service/TagService.php | 22 ++++--- .../Domain/Service/TagServiceInterface.php | 10 +-- .../Domain/Service/TransactionService.php | 20 +++--- .../Service/TransactionServiceInterface.php | 8 +-- .../TranslationServiceInterface.php | 2 +- .../User/UserPasswordServiceInterface.php | 6 +- .../Service/User/UserRegistrationService.php | 4 +- .../User/UserRegistrationServiceInterface.php | 2 +- .../Domain/Service/UserService.php | 47 +++++++------- .../Domain/Service/UserServiceInterface.php | 14 ++-- .../Domain/Traits/EntityTrait.php | 2 +- .../Domain/Traits/EventTrait.php | 2 +- .../Domain/Traits/ValueObjectTrait.php | 4 +- .../Auth/AuthenticationFailureHandler.php | 4 +- .../Auth/AuthenticationSuccessListener.php | 6 +- .../Auth/AuthenticationUpdateTokenPayload.php | 6 +- .../Datetime/DatetimeService.php | 4 +- .../Doctrine/DatabaseTransactionService.php | 4 +- .../Doctrine/Entity/OperationId.php | 4 +- .../Doctrine/Entity/mapping/Account.orm.xml | 6 +- .../Entity/mapping/AccountAccess.orm.xml | 8 +-- .../Entity/mapping/AccountOptions.orm.xml | 6 +- .../Doctrine/Entity/mapping/Budget.orm.xml | 14 ++-- .../Entity/mapping/BudgetAccess.orm.xml | 8 +-- .../Entity/mapping/BudgetEntityAmount.orm.xml | 4 +- .../Entity/mapping/BudgetEntityOption.orm.xml | 8 +-- .../Entity/mapping/BudgetEnvelope.orm.xml | 6 +- .../Entity/mapping/BudgetFolder.orm.xml | 4 +- .../Doctrine/Entity/mapping/Category.orm.xml | 6 +- .../Entity/mapping/ConnectionInvite.orm.xml | 6 +- .../Doctrine/Entity/mapping/Currency.orm.xml | 4 +- .../Entity/mapping/CurrencyRate.orm.xml | 8 +-- .../Doctrine/Entity/mapping/Folder.orm.xml | 6 +- .../Doctrine/Entity/mapping/Payee.orm.xml | 4 +- .../Doctrine/Entity/mapping/Tag.orm.xml | 4 +- .../Entity/mapping/Transaction.orm.xml | 16 ++--- .../Doctrine/Entity/mapping/User.orm.xml | 6 +- .../Entity/mapping/UserOption.orm.xml | 4 +- .../mapping/UserPasswordRequest.orm.xml | 4 +- .../Doctrine/Factory/CurrencyFactory.php | 12 ++-- .../Doctrine/Factory/OperationIdFactory.php | 8 +-- .../Doctrine/Factory/UserFactory.php | 12 ++-- .../Migration/Version20210812210548.php | 2 +- .../Migration/Version20210815145533.php | 2 +- .../Migration/Version20210815182016.php | 2 +- .../Migration/Version20210820192632.php | 2 +- .../Migration/Version20210820205511.php | 2 +- .../Migration/Version20210820211021.php | 2 +- .../Migration/Version20210821094922.php | 2 +- .../Migration/Version20210822101630.php | 2 +- .../Migration/Version20210823194424.php | 2 +- .../Migration/Version20211007104122.php | 2 +- .../Migration/Version20211007130212.php | 2 +- .../Migration/Version20211024163413.php | 2 +- .../Migration/Version20211121195400.php | 2 +- .../Migration/Version20211128150459.php | 2 +- .../Migration/Version20211128154246.php | 2 +- .../Migration/Version20211128160957.php | 2 +- .../Migration/Version20211128162728.php | 2 +- .../Migration/Version20211128165440.php | 2 +- .../Migration/Version20211128170211.php | 2 +- .../Migration/Version20211128172045.php | 2 +- .../Migration/Version20211130185558.php | 2 +- .../Migration/Version20211130192704.php | 2 +- .../Migration/Version20211130192857.php | 2 +- .../Migration/Version20211130200333.php | 2 +- .../Migration/Version20211208183725.php | 2 +- .../Migration/Version20211219071725.php | 2 +- .../Migration/Version20220102163923.php | 2 +- .../Migration/Version20220103084323.php | 2 +- .../Migration/Version20220103100247.php | 2 +- .../Migration/Version20220103114330.php | 2 +- .../Migration/Version20220105165436.php | 2 +- .../Migration/Version20220108154733.php | 2 +- .../Migration/Version20220116100634.php | 2 +- .../Migration/Version20220116172031.php | 2 +- .../Migration/Version20220217195918.php | 2 +- .../Migration/Version20220220121754.php | 2 +- .../Migration/Version20220313191418.php | 2 +- .../Migration/Version20220314194214.php | 2 +- .../Migration/Version20220526192053.php | 2 +- .../Migration/Version20230219210615.php | 2 +- .../Migration/Version20230905032555.php | 2 +- .../Migration/Version20230917045851.php | 2 +- .../Migration/Version20230917202434.php | 2 +- .../Migration/Version20230917210936.php | 2 +- .../Migration/Version20230917224327.php | 2 +- .../Migration/Version20230918000357.php | 2 +- .../Migration/Version20231012034345.php | 2 +- .../Migration/Version20231019035622.php | 2 +- .../Migration/Version20231019040323.php | 2 +- .../Migration/Version20231020013838.php | 2 +- .../Migration/Version20231022185136.php | 2 +- .../Migration/Version20231029160624.php | 2 +- .../Migration/Version20231120013455.php | 2 +- .../Migration/Version20240811061046.php | 2 +- .../Migration/Version20240903212637.php | 2 +- .../Migration/Version20240904000307.php | 2 +- .../Migration/Version20240909022209.php | 2 +- .../Migration/Version20240909024012.php | 2 +- .../Migration/Version20240909042328.php | 2 +- .../Migration/Version20240909052918.php | 2 +- .../Migration/Version20240910041130.php | 2 +- .../Migration/Version20240915221226.php | 2 +- .../Migration/Version20240915221524.php | 2 +- .../Migration/Version20240922033856.php | 2 +- .../Migration/Version20240922035939.php | 2 +- .../Migration/Version20240923001558.php | 2 +- .../Migration/Version20240923015318.php | 2 +- .../Migration/Version20240927025211.php | 2 +- .../AccountAccessInviteRepository.php | 14 ++-- .../Repository/AccountAccessRepository.php | 24 +++---- .../Repository/AccountOptionsRepository.php | 14 ++-- .../Doctrine/Repository/AccountRepository.php | 14 ++-- .../Repository/BudgetAccessRepository.php | 18 +++--- .../BudgetEntityAmountRepository.php | 18 +++--- .../BudgetEntityOptionRepository.php | 16 ++--- .../Repository/BudgetEnvelopeRepository.php | 20 +++--- .../Repository/BudgetFolderRepository.php | 16 ++--- .../Doctrine/Repository/BudgetRepository.php | 22 +++---- .../Repository/CategoryRepository.php | 16 ++--- .../Repository/ConnectionInviteRepository.php | 14 ++-- .../Repository/CurrencyRateRepository.php | 12 ++-- .../Repository/CurrencyRepository.php | 12 ++-- .../Doctrine/Repository/FolderRepository.php | 12 ++-- .../Repository/OperationIdRepository.php | 8 +-- .../Doctrine/Repository/PayeeRepository.php | 16 ++--- .../Doctrine/Repository/TagRepository.php | 16 ++--- .../Repository/Traits/DeleteTrait.php | 2 +- .../Traits/GetEntityReferenceTrait.php | 4 +- .../Repository/Traits/NextIdentityTrait.php | 4 +- .../Doctrine/Repository/Traits/SaveTrait.php | 2 +- .../Repository/TransactionRepository.php | 24 +++---- .../Repository/UserOptionRepository.php | 10 +-- .../UserPasswordRequestRepository.php | 14 ++-- .../Doctrine/Repository/UserRepository.php | 16 ++--- .../Doctrine/Type/AccountNameType.php | 5 +- .../Doctrine/Type/AccountType.php | 4 +- .../Doctrine/Type/AccountUserRoleType.php | 4 +- .../Doctrine/Type/BudgetEntityType.php | 4 +- .../Doctrine/Type/BudgetEnvelopeNameType.php | 5 +- .../Doctrine/Type/BudgetFolderNameType.php | 5 +- .../Doctrine/Type/BudgetNameType.php | 5 +- .../Doctrine/Type/CategoryNameType.php | 5 +- .../Doctrine/Type/CategoryType.php | 4 +- .../Doctrine/Type/ConnectionCodeType.php | 5 +- .../Doctrine/Type/CurrencyCodeType.php | 5 +- .../Doctrine/Type/FolderNameType.php | 5 +- .../Infrastructure/Doctrine/Type/IconType.php | 5 +- .../Doctrine/Type/PayeeNameType.php | 5 +- .../Type/ReflectionValueObjectTrait.php | 2 +- .../Doctrine/Type/TagNameType.php | 5 +- .../Doctrine/Type/TransactionType.php | 4 +- .../Type/UserPasswordRequestCodeType.php | 5 +- .../Doctrine/Type/UserRoleType.php | 4 +- .../Infrastructure/Doctrine/Type/UuidType.php | 4 +- .../Infrastructure/Doctrine/UserProvider.php | 10 +-- .../OperationObjectLockedException.php | 2 +- .../Symfony/Form/Constraints/OperationId.php | 2 +- .../Form/Constraints/OperationIdValidator.php | 8 +-- .../Symfony/Form/Type/CurrencyRateType.php | 6 +- .../Symfony/Form/Type/PositionType.php | 4 +- .../Form/ValueObjectValidationFactory.php | 7 +- .../Symfony/Form/ValueObjectValidator.php | 4 +- .../Symfony/Mailer/EmailService.php | 16 ++--- .../Symfony/Messenger/EventDispatcher.php | 4 +- .../Symfony/OperationService.php | 18 +++--- .../PasswordHasher/UserPasswordService.php | 10 +-- .../Translation/TranslationService.php | 4 +- .../Account/CreateAccountV1Controller.php | 24 +++---- .../Account/DeleteAccountV1Controller.php | 20 +++--- .../Account/UpdateAccountV1Controller.php | 20 +++--- .../Validation/CreateAccountV1Form.php | 10 +-- .../Validation/DeleteAccountV1Form.php | 2 +- .../Validation/UpdateAccountV1Form.php | 8 +-- .../GetAccountListV1Controller.php | 18 +++--- .../OrderAccountListV1Controller.php | 20 +++--- .../Validation/AccountPositionForm.php | 4 +- .../Validation/GetAccountListV1Form.php | 2 +- .../Validation/OrderAccountListV1Form.php | 3 +- .../Folder/CreateFolderV1Controller.php | 20 +++--- .../Account/Folder/HideFolderV1Controller.php | 20 +++--- .../Folder/ReplaceFolderV1Controller.php | 20 +++--- .../Account/Folder/ShowFolderV1Controller.php | 20 +++--- .../Folder/UpdateFolderV1Controller.php | 20 +++--- .../Folder/Validation/CreateFolderV1Form.php | 6 +- .../Folder/Validation/HideFolderV1Form.php | 2 +- .../Folder/Validation/ReplaceFolderV1Form.php | 2 +- .../Folder/Validation/ShowFolderV1Form.php | 2 +- .../Folder/Validation/UpdateFolderV1Form.php | 6 +- .../FolderList/GetFolderListV1Controller.php | 18 +++--- .../OrderFolderListV1Controller.php | 20 +++--- .../Validation/GetFolderListV1Form.php | 2 +- .../Validation/OrderFolderListV1Form.php | 4 +- .../Balance/GetBalanceV1Controller.php | 18 +++--- .../Balance/Validation/GetBalanceV1Form.php | 2 +- .../Account/ExcludeAccountV1Controller.php | 20 +++--- .../Account/IncludeAccountV1Controller.php | 20 +++--- .../Validation/ExcludeAccountV1Form.php | 4 +- .../Validation/IncludeAccountV1Form.php | 4 +- .../Budget/CreateBudgetV1Controller.php | 20 +++--- .../Budget/DeleteBudgetV1Controller.php | 20 +++--- .../Budget/Budget/GetBudgetV1Controller.php | 18 +++--- .../Budget/Budget/ResetBudgetV1Controller.php | 20 +++--- .../Budget/UpdateBudgetV1Controller.php | 20 +++--- .../Budget/Validation/CreateBudgetV1Form.php | 13 +++- .../Budget/Validation/DeleteBudgetV1Form.php | 4 +- .../Budget/Validation/GetBudgetV1Form.php | 4 +- .../Budget/Validation/ResetBudgetV1Form.php | 4 +- .../Budget/Validation/UpdateBudgetV1Form.php | 6 +- .../BudgetList/GetBudgetListV1Controller.php | 18 +++--- .../Validation/GetBudgetListV1Form.php | 2 +- .../Category/ArchiveCategoryV1Controller.php | 20 +++--- .../Category/CreateCategoryV1Controller.php | 24 +++---- .../Category/DeleteCategoryV1Controller.php | 20 +++--- .../UnarchiveCategoryV1Controller.php | 20 +++--- .../Category/UpdateCategoryV1Controller.php | 20 +++--- .../Validation/ArchiveCategoryV1Form.php | 2 +- .../Validation/CreateCategoryV1Form.php | 8 +-- .../Validation/DeleteCategoryV1Form.php | 4 +- .../Validation/UnarchiveCategoryV1Form.php | 2 +- .../Validation/UpdateCategoryV1Form.php | 10 +-- .../GetCategoryListV1Controller.php | 18 +++--- .../OrderCategoryListV1Controller.php | 20 +++--- .../Validation/GetCategoryListV1Form.php | 2 +- .../Validation/OrderCategoryListV1Form.php | 4 +- .../RevokeAccountAccessV1Controller.php | 20 +++--- .../SetAccountAccessV1Controller.php | 20 +++--- .../Validation/RevokeAccountAccessV1Form.php | 2 +- .../Validation/SetAccountAccessV1Form.php | 6 +- .../DeleteConnectionV1Controller.php | 20 +++--- .../Validation/DeleteConnectionV1Form.php | 4 +- .../GetConnectionListV1Controller.php | 18 +++--- .../Validation/GetConnectionListV1Form.php | 2 +- .../Invite/AcceptInviteV1Controller.php | 20 +++--- .../Invite/DeleteInviteV1Controller.php | 20 +++--- .../Invite/GenerateInviteV1Controller.php | 20 +++--- .../Invite/Validation/AcceptInviteV1Form.php | 6 +- .../Invite/Validation/DeleteInviteV1Form.php | 2 +- .../Validation/GenerateInviteV1Form.php | 2 +- .../GetCurrencyListV1Controller.php | 18 +++--- .../Validation/GetCurrencyListV1Form.php | 2 +- .../GetCurrencyRateListV1Controller.php | 18 +++--- .../Validation/GetCurrencyRateListV1Form.php | 2 +- .../Payee/Payee/ArchivePayeeV1Controller.php | 20 +++--- .../Payee/Payee/CreatePayeeV1Controller.php | 24 +++---- .../Payee/Payee/DeletePayeeV1Controller.php | 20 +++--- .../Payee/UnarchivePayeeV1Controller.php | 20 +++--- .../Payee/Payee/UpdatePayeeV1Controller.php | 20 +++--- .../Payee/Validation/ArchivePayeeV1Form.php | 2 +- .../Payee/Validation/CreatePayeeV1Form.php | 8 +-- .../Payee/Validation/DeletePayeeV1Form.php | 2 +- .../Payee/Validation/UnarchivePayeeV1Form.php | 2 +- .../Payee/Validation/UpdatePayeeV1Form.php | 6 +- .../PayeeList/GetPayeeListV1Controller.php | 18 +++--- .../PayeeList/OrderPayeeListV1Controller.php | 20 +++--- .../Validation/GetPayeeListV1Form.php | 2 +- .../Validation/OrderPayeeListV1Form.php | 4 +- .../ImportCurrencyListV1Controller.php | 20 +++--- .../Validation/ImportCurrencyListV1Form.php | 2 +- .../ImportCurrencyRatesV1Controller.php | 22 +++---- .../Validation/ImportCurrencyRatesV1Form.php | 6 +- .../Api/Tag/Tag/ArchiveTagV1Controller.php | 20 +++--- .../Api/Tag/Tag/CreateTagV1Controller.php | 24 +++---- .../Api/Tag/Tag/DeleteTagV1Controller.php | 20 +++--- .../Api/Tag/Tag/UnarchiveTagV1Controller.php | 20 +++--- .../Api/Tag/Tag/UpdateTagV1Controller.php | 20 +++--- .../Tag/Tag/Validation/ArchiveTagV1Form.php | 2 +- .../Tag/Tag/Validation/CreateTagV1Form.php | 8 +-- .../Tag/Tag/Validation/DeleteTagV1Form.php | 2 +- .../Tag/Tag/Validation/UnarchiveTagV1Form.php | 2 +- .../Tag/Tag/Validation/UpdateTagV1Form.php | 6 +- .../Tag/TagList/GetTagListV1Controller.php | 18 +++--- .../Tag/TagList/OrderTagListV1Controller.php | 20 +++--- .../TagList/Validation/GetTagListV1Form.php | 2 +- .../TagList/Validation/OrderTagListV1Form.php | 4 +- .../CreateTransactionV1Controller.php | 24 +++---- .../DeleteTransactionV1Controller.php | 20 +++--- .../UpdateTransactionV1Controller.php | 20 +++--- .../Validation/CreateTransactionV1Form.php | 6 +- .../Validation/DeleteTransactionV1Form.php | 2 +- .../Validation/UpdateTransactionV1Form.php | 6 +- .../GetTransactionListV1Controller.php | 18 +++--- .../Validation/GetTransactionListV1Form.php | 2 +- .../User/Budget/UpdateBudgetV1Controller.php | 20 +++--- .../Budget/Validation/UpdateBudgetV1Form.php | 4 +- .../Currency/UpdateCurrencyV1Controller.php | 20 +++--- .../Validation/UpdateCurrencyV1Form.php | 4 +- .../Api/User/Name/UpdateNameV1Controller.php | 20 +++--- .../User/Name/Validation/UpdateNameV1Form.php | 2 +- .../OptionList/GetOptionListV1Controller.php | 18 +++--- .../Validation/GetOptionListV1Form.php | 4 +- .../Password/RemindPasswordV1Controller.php | 18 +++--- .../Password/ResetPasswordV1Controller.php | 20 +++--- .../Password/UpdatePasswordV1Controller.php | 20 +++--- .../Validation/RemindPasswordV1Form.php | 2 +- .../Validation/ResetPasswordV1Form.php | 6 +- .../Validation/UpdatePasswordV1Form.php | 2 +- .../UpdateReportPeriodV1Controller.php | 20 +++--- .../Validation/UpdateReportPeriodV1Form.php | 6 +- .../Api/User/User/LoginUserV1Controller.php | 20 +++--- .../Api/User/User/LogoutUserV1Controller.php | 16 ++--- .../User/User/RegisterUserV1Controller.php | 18 +++--- .../User/User/Validation/LoginUserV1Form.php | 2 +- .../User/User/Validation/LogoutUserV1Form.php | 2 +- .../User/Validation/RegisterUserV1Form.php | 2 +- .../User/UserData/GetUserDataV1Controller.php | 18 +++--- .../UserData/Validation/GetUserDataV1Form.php | 4 +- .../UI/Controller/HealthCheckController.php | 2 +- .../UI/Controller/LoadTestingController.php | 2 +- .../AcceptUserLanguage/LocaleSubscriber.php | 2 +- .../HttpApiExceptionListener.php | 8 +-- .../ProtectSystemApiListener.php | 3 +- .../ProtectSystemApi/SystemApiInterface.php | 2 +- .../UI/Service/Dto/OperationDto.php | 4 +- .../UI/Service/OperationServiceInterface.php | 6 +- .../UI/Service/Response/ResponseFactory.php | 2 +- .../Validator/RequestFormValidationHelper.php | 4 +- .../UI/Service/Validator/Validator.php | 4 +- .../Service/Validator/ValidatorInterface.php | 4 +- .../ValueObjectValidationFactoryInterface.php | 4 +- src/Kernel.php | 2 +- tests/Helper/Api.php | 4 +- tests/Helper/AuthenticationTrait.php | 4 +- tests/Helper/Functional.php | 4 +- tests/Helper/Integrational.php | 4 +- .../api/v1/user/RemindPasswordCest.php | 2 +- .../App/Domain/Entity/TransactionTest.php | 2 +- 920 files changed, 4146 insertions(+), 3742 deletions(-) delete mode 100644 src/Application/Budget/Assembler/CreateBudgetV1ResultAssembler.php delete mode 100644 src/Application/Payee/Assembler/UpdatePayeeV1ResultAssembler.php delete mode 100644 src/Domain/Entity/ValueObject/AccountName.php delete mode 100644 src/Domain/Entity/ValueObject/BudgetEnvelopeName.php delete mode 100644 src/Domain/Entity/ValueObject/BudgetFolderName.php delete mode 100644 src/Domain/Entity/ValueObject/BudgetName.php delete mode 100644 src/Domain/Entity/ValueObject/CategoryName.php delete mode 100644 src/Domain/Entity/ValueObject/FolderName.php delete mode 100644 src/Domain/Entity/ValueObject/PayeeName.php delete mode 100644 src/Domain/Entity/ValueObject/TagName.php delete mode 100644 src/Domain/Exception/AccessDeniedException.php delete mode 100644 src/Domain/Exception/AccountAccessException.php delete mode 100644 src/Domain/Exception/CategoryAlreadyExistsException.php delete mode 100644 src/Domain/Exception/EnvelopeIsNotEmptyException.php delete mode 100644 src/Domain/Exception/FolderAlreadyExistsException.php delete mode 100644 src/Domain/Exception/LastFolderRemoveException.php delete mode 100644 src/Domain/Exception/NotFoundException.php delete mode 100644 src/Domain/Exception/PayeeAlreadyExistsException.php delete mode 100644 src/Domain/Exception/PlanAlreadyExistsException.php delete mode 100644 src/Domain/Exception/PlanFolderIsNotEmptyException.php delete mode 100644 src/Domain/Exception/RecipientIsRequiredException.php delete mode 100644 src/Domain/Exception/ReplaceCategoryException.php delete mode 100644 src/Domain/Exception/RevokeOwnerAccessException.php delete mode 100644 src/Domain/Exception/TagAlreadyExistsException.php delete mode 100644 src/Domain/Exception/UserOptionException.php delete mode 100644 src/Domain/Exception/UserPasswordNotValidException.php delete mode 100644 src/Domain/Exception/UserRegisteredException.php delete mode 100644 src/Domain/Exception/UserRegistrationDisabledException.php delete mode 100644 src/Domain/Factory/AccountAccessFactoryInterface.php delete mode 100644 src/Domain/Factory/AccountAccessInviteFactoryInterface.php delete mode 100644 src/Domain/Factory/AccountFactoryInterface.php delete mode 100644 src/Domain/Factory/CategoryFactoryInterface.php delete mode 100644 src/Domain/Factory/CurrencyFactoryInterface.php delete mode 100644 src/Domain/Factory/FolderFactoryInterface.php delete mode 100644 src/Domain/Factory/PasswordUserRequestFactoryInterface.php delete mode 100644 src/Domain/Factory/PayeeFactoryInterface.php delete mode 100644 src/Domain/Factory/TagFactoryInterface.php delete mode 100644 src/Domain/Service/AccountAccessInviteServiceInterface.php delete mode 100644 src/Domain/Service/Budget/Dto/BudgetDto.php rename src/{ => EconumoBundle}/Application/Account/AccountListService.php (59%) rename src/{ => EconumoBundle}/Application/Account/AccountService.php (68%) rename src/{ => EconumoBundle}/Application/Account/Assembler/AccountIdToSharedAccessResultAssembler.php (71%) rename src/{ => EconumoBundle}/Application/Account/Assembler/AccountToDtoV1ResultAssembler.php (73%) rename src/{ => EconumoBundle}/Application/Account/Assembler/CreateAccountV1ResultAssembler.php (57%) rename src/{ => EconumoBundle}/Application/Account/Assembler/CreateFolderV1ResultAssembler.php (59%) rename src/{ => EconumoBundle}/Application/Account/Assembler/DeleteAccountV1ResultAssembler.php (53%) rename src/{ => EconumoBundle}/Application/Account/Assembler/FolderIdToDtoV1ResultAssembler.php (58%) rename src/{ => EconumoBundle}/Application/Account/Assembler/FolderToDtoV1ResultAssembler.php (71%) rename src/{ => EconumoBundle}/Application/Account/Assembler/GetAccountListV1ResultAssembler.php (63%) rename src/{ => EconumoBundle}/Application/Account/Assembler/GetFolderListV1ResultAssembler.php (65%) rename src/{ => EconumoBundle}/Application/Account/Assembler/HideFolderV1ResultAssembler.php (52%) rename src/{ => EconumoBundle}/Application/Account/Assembler/OrderAccountListV1ResultAssembler.php (64%) rename src/{ => EconumoBundle}/Application/Account/Assembler/OrderFolderListV1ResultAssembler.php (63%) rename src/{ => EconumoBundle}/Application/Account/Assembler/ReplaceFolderV1ResultAssembler.php (53%) rename src/{ => EconumoBundle}/Application/Account/Assembler/ShowFolderV1ResultAssembler.php (52%) rename src/{ => EconumoBundle}/Application/Account/Assembler/UpdateAccountV1ResultAssembler.php (60%) rename src/{ => EconumoBundle}/Application/Account/Assembler/UpdateFolderV1ResultAssembler.php (59%) rename src/{ => EconumoBundle}/Application/Account/Dto/AccountRequestDto.php (93%) rename src/{ => EconumoBundle}/Application/Account/Dto/AccountResultDto.php (84%) rename src/{ => EconumoBundle}/Application/Account/Dto/CreateAccountV1RequestDto.php (93%) rename src/{ => EconumoBundle}/Application/Account/Dto/CreateAccountV1ResultDto.php (65%) rename src/{ => EconumoBundle}/Application/Account/Dto/CreateFolderV1RequestDto.php (81%) rename src/{ => EconumoBundle}/Application/Account/Dto/CreateFolderV1ResultDto.php (65%) rename src/{ => EconumoBundle}/Application/Account/Dto/DeleteAccountV1RequestDto.php (83%) rename src/{ => EconumoBundle}/Application/Account/Dto/DeleteAccountV1ResultDto.php (73%) rename src/{ => EconumoBundle}/Application/Account/Dto/FolderResultDto.php (92%) rename src/{ => EconumoBundle}/Application/Account/Dto/GetAccountListV1RequestDto.php (73%) rename src/{ => EconumoBundle}/Application/Account/Dto/GetAccountListV1ResultDto.php (68%) rename src/{ => EconumoBundle}/Application/Account/Dto/GetFolderListV1RequestDto.php (73%) rename src/{ => EconumoBundle}/Application/Account/Dto/GetFolderListV1ResultDto.php (68%) rename src/{ => EconumoBundle}/Application/Account/Dto/HideFolderV1RequestDto.php (82%) rename src/{ => EconumoBundle}/Application/Account/Dto/HideFolderV1ResultDto.php (70%) rename src/{ => EconumoBundle}/Application/Account/Dto/OrderAccountListV1RequestDto.php (64%) rename src/{ => EconumoBundle}/Application/Account/Dto/OrderAccountListV1ResultDto.php (68%) rename src/{ => EconumoBundle}/Application/Account/Dto/OrderFolderListV1RequestDto.php (65%) rename src/{ => EconumoBundle}/Application/Account/Dto/OrderFolderListV1ResultDto.php (68%) rename src/{ => EconumoBundle}/Application/Account/Dto/ReplaceFolderV1RequestDto.php (87%) rename src/{ => EconumoBundle}/Application/Account/Dto/ReplaceFolderV1ResultDto.php (70%) rename src/{ => EconumoBundle}/Application/Account/Dto/SharedAccessItemResultDto.php (77%) rename src/{ => EconumoBundle}/Application/Account/Dto/ShowFolderV1RequestDto.php (82%) rename src/{ => EconumoBundle}/Application/Account/Dto/ShowFolderV1ResultDto.php (70%) rename src/{ => EconumoBundle}/Application/Account/Dto/UpdateAccountV1RequestDto.php (92%) rename src/{ => EconumoBundle}/Application/Account/Dto/UpdateAccountV1ResultDto.php (62%) rename src/{ => EconumoBundle}/Application/Account/Dto/UpdateFolderV1RequestDto.php (86%) rename src/{ => EconumoBundle}/Application/Account/Dto/UpdateFolderV1ResultDto.php (65%) rename src/{ => EconumoBundle}/Application/Account/FolderListService.php (58%) rename src/{ => EconumoBundle}/Application/Account/FolderService.php (64%) rename src/{ => EconumoBundle}/Application/Analytics/Assembler/GetBalanceV1ResultAssembler.php (67%) rename src/{ => EconumoBundle}/Application/Analytics/BalanceService.php (62%) rename src/{ => EconumoBundle}/Application/Analytics/Dto/BalanceResultDto.php (86%) rename src/{ => EconumoBundle}/Application/Analytics/Dto/GetBalanceV1RequestDto.php (85%) rename src/{ => EconumoBundle}/Application/Analytics/Dto/GetBalanceV1ResultDto.php (67%) rename src/{ => EconumoBundle}/Application/Budget/AccountService.php (65%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/BudgetAccessToResultDtoAssembler.php (69%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/BudgetChildElementToResultDtoAssembler.php (75%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/BudgetCurrencyAmountToResultDtoAssembler.php (64%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/BudgetCurrencyBalanceToResultDtoAssembler.php (75%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/BudgetDtoToResultDtoAssembler.php (68%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/BudgetEnvelopeToResultDtoAssembler.php (70%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/BudgetFiltersToResultDtoAssembler.php (75%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/BudgetFolderToResultDtoAssembler.php (66%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/BudgetMetaToResultDtoAssembler.php (76%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/BudgetParentElementToResultDtoAssembler.php (73%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/BudgetStructureToResultDtoAssembler.php (69%) create mode 100644 src/EconumoBundle/Application/Budget/Assembler/CreateBudgetV1ResultAssembler.php rename src/{ => EconumoBundle}/Application/Budget/Assembler/DeleteBudgetV1ResultAssembler.php (50%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/ExcludeAccountV1ResultAssembler.php (63%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/GetBudgetListV1ResultAssembler.php (70%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/GetBudgetV1ResultAssembler.php (62%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/IncludeAccountV1ResultAssembler.php (63%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/ResetBudgetV1ResultAssembler.php (63%) rename src/{ => EconumoBundle}/Application/Budget/Assembler/UpdateBudgetV1ResultAssembler.php (63%) rename src/{ => EconumoBundle}/Application/Budget/BudgetListService.php (57%) rename src/{ => EconumoBundle}/Application/Budget/BudgetService.php (62%) rename src/{ => EconumoBundle}/Application/Budget/Dto/BudgeFiltersResultDto.php (90%) rename src/{ => EconumoBundle}/Application/Budget/Dto/BudgetCurrencyAmountDto.php (87%) rename src/{ => EconumoBundle}/Application/Budget/Dto/BudgetCurrencyBalanceResultDto.php (94%) rename src/{ => EconumoBundle}/Application/Budget/Dto/BudgetFolderResultDto.php (89%) rename src/{ => EconumoBundle}/Application/Budget/Dto/BudgetMetaResultDto.php (88%) rename src/{ => EconumoBundle}/Application/Budget/Dto/BudgetResultDto.php (61%) rename src/{ => EconumoBundle}/Application/Budget/Dto/BudgetSharedAccessResultDto.php (82%) rename src/{ => EconumoBundle}/Application/Budget/Dto/BudgetStructureChildElementResultDto.php (93%) rename src/{ => EconumoBundle}/Application/Budget/Dto/BudgetStructureParentElementResultDto.php (87%) rename src/{ => EconumoBundle}/Application/Budget/Dto/BudgetStructureResultDto.php (77%) rename src/{ => EconumoBundle}/Application/Budget/Dto/CreateBudgetV1RequestDto.php (65%) rename src/{ => EconumoBundle}/Application/Budget/Dto/CreateBudgetV1ResultDto.php (56%) rename src/{ => EconumoBundle}/Application/Budget/Dto/DeleteBudgetV1RequestDto.php (83%) rename src/{ => EconumoBundle}/Application/Budget/Dto/DeleteBudgetV1ResultDto.php (71%) rename src/{ => EconumoBundle}/Application/Budget/Dto/ExcludeAccountV1RequestDto.php (88%) rename src/{ => EconumoBundle}/Application/Budget/Dto/ExcludeAccountV1ResultDto.php (66%) rename src/{ => EconumoBundle}/Application/Budget/Dto/GetBudgetListV1RequestDto.php (71%) rename src/{ => EconumoBundle}/Application/Budget/Dto/GetBudgetListV1ResultDto.php (68%) rename src/{ => EconumoBundle}/Application/Budget/Dto/GetBudgetV1RequestDto.php (87%) rename src/{ => EconumoBundle}/Application/Budget/Dto/GetBudgetV1ResultDto.php (66%) rename src/{ => EconumoBundle}/Application/Budget/Dto/IncludeAccountV1RequestDto.php (88%) rename src/{ => EconumoBundle}/Application/Budget/Dto/IncludeAccountV1ResultDto.php (66%) rename src/{ => EconumoBundle}/Application/Budget/Dto/ResetBudgetV1RequestDto.php (87%) rename src/{ => EconumoBundle}/Application/Budget/Dto/ResetBudgetV1ResultDto.php (65%) rename src/{ => EconumoBundle}/Application/Budget/Dto/UpdateBudgetV1RequestDto.php (87%) rename src/{ => EconumoBundle}/Application/Budget/Dto/UpdateBudgetV1ResultDto.php (65%) rename src/{ => EconumoBundle}/Application/Category/Assembler/ArchiveCategoryV1ResultAssembler.php (53%) rename src/{ => EconumoBundle}/Application/Category/Assembler/CategoryIdToUserCategoryDtoResultAssembler.php (59%) rename src/{ => EconumoBundle}/Application/Category/Assembler/CreateCategoryV1ResultAssembler.php (59%) rename src/{ => EconumoBundle}/Application/Category/Assembler/DeleteCategoryV1ResultAssembler.php (53%) rename src/{ => EconumoBundle}/Application/Category/Assembler/GetCategoryListV1ResultAssembler.php (65%) rename src/{ => EconumoBundle}/Application/Category/Assembler/OrderCategoryListV1ResultAssembler.php (63%) rename src/{ => EconumoBundle}/Application/Category/Assembler/UnarchiveCategoryV1ResultAssembler.php (53%) rename src/{ => EconumoBundle}/Application/Category/Assembler/UpdateCategoryV1ResultAssembler.php (53%) rename src/{ => EconumoBundle}/Application/Category/Assembler/UserCategoryToDtoResultAssembler.php (81%) rename src/{ => EconumoBundle}/Application/Category/CategoryListService.php (59%) rename src/{ => EconumoBundle}/Application/Category/CategoryService.php (69%) rename src/{ => EconumoBundle}/Application/Category/Dto/ArchiveCategoryV1RequestDto.php (82%) rename src/{ => EconumoBundle}/Application/Category/Dto/ArchiveCategoryV1ResultDto.php (70%) rename src/{ => EconumoBundle}/Application/Category/Dto/CategoryResultDto.php (96%) rename src/{ => EconumoBundle}/Application/Category/Dto/CreateCategoryV1RequestDto.php (92%) rename src/{ => EconumoBundle}/Application/Category/Dto/CreateCategoryV1ResultDto.php (67%) rename src/{ => EconumoBundle}/Application/Category/Dto/DeleteCategoryV1RequestDto.php (92%) rename src/{ => EconumoBundle}/Application/Category/Dto/DeleteCategoryV1ResultDto.php (70%) rename src/{ => EconumoBundle}/Application/Category/Dto/GetCategoryListV1RequestDto.php (73%) rename src/{ => EconumoBundle}/Application/Category/Dto/GetCategoryListV1ResultDto.php (68%) rename src/{ => EconumoBundle}/Application/Category/Dto/OrderCategoryListV1RequestDto.php (65%) rename src/{ => EconumoBundle}/Application/Category/Dto/OrderCategoryListV1ResultDto.php (68%) rename src/{ => EconumoBundle}/Application/Category/Dto/UnarchiveCategoryV1RequestDto.php (83%) rename src/{ => EconumoBundle}/Application/Category/Dto/UnarchiveCategoryV1ResultDto.php (71%) rename src/{ => EconumoBundle}/Application/Category/Dto/UpdateCategoryV1RequestDto.php (89%) rename src/{ => EconumoBundle}/Application/Category/Dto/UpdateCategoryV1ResultDto.php (70%) rename src/{ => EconumoBundle}/Application/Connection/AccountAccessService.php (64%) rename src/{ => EconumoBundle}/Application/Connection/Assembler/AcceptInviteV1ResultAssembler.php (73%) rename src/{ => EconumoBundle}/Application/Connection/Assembler/AccountAccessToDtoResultAssembler.php (73%) rename src/{ => EconumoBundle}/Application/Connection/Assembler/ConnectionInviteToDtoResultAssembler.php (67%) rename src/{ => EconumoBundle}/Application/Connection/Assembler/DeleteConnectionV1ResultAssembler.php (52%) rename src/{ => EconumoBundle}/Application/Connection/Assembler/DeleteInviteV1ResultAssembler.php (51%) rename src/{ => EconumoBundle}/Application/Connection/Assembler/GenerateInviteV1ResultAssembler.php (60%) rename src/{ => EconumoBundle}/Application/Connection/Assembler/GetConnectionListV1ResultAssembler.php (80%) rename src/{ => EconumoBundle}/Application/Connection/Assembler/RevokeAccountAccessV1ResultAssembler.php (53%) rename src/{ => EconumoBundle}/Application/Connection/Assembler/SetAccountAccessV1ResultAssembler.php (52%) rename src/{ => EconumoBundle}/Application/Connection/ConnectionListService.php (63%) rename src/{ => EconumoBundle}/Application/Connection/ConnectionService.php (56%) rename src/{ => EconumoBundle}/Application/Connection/Dto/AcceptInviteV1RequestDto.php (80%) rename src/{ => EconumoBundle}/Application/Connection/Dto/AcceptInviteV1ResultDto.php (67%) rename src/{ => EconumoBundle}/Application/Connection/Dto/AccountAccessResultDto.php (90%) rename src/{ => EconumoBundle}/Application/Connection/Dto/ConnectionInviteResultDto.php (88%) rename src/{ => EconumoBundle}/Application/Connection/Dto/ConnectionResultDto.php (66%) rename src/{ => EconumoBundle}/Application/Connection/Dto/DeleteConnectionV1RequestDto.php (83%) rename src/{ => EconumoBundle}/Application/Connection/Dto/DeleteConnectionV1ResultDto.php (70%) rename src/{ => EconumoBundle}/Application/Connection/Dto/DeleteInviteV1RequestDto.php (69%) rename src/{ => EconumoBundle}/Application/Connection/Dto/DeleteInviteV1ResultDto.php (69%) rename src/{ => EconumoBundle}/Application/Connection/Dto/GenerateInviteV1RequestDto.php (70%) rename src/{ => EconumoBundle}/Application/Connection/Dto/GenerateInviteV1ResultDto.php (64%) rename src/{ => EconumoBundle}/Application/Connection/Dto/GetConnectionListV1RequestDto.php (70%) rename src/{ => EconumoBundle}/Application/Connection/Dto/GetConnectionListV1ResultDto.php (67%) rename src/{ => EconumoBundle}/Application/Connection/Dto/RevokeAccountAccessV1RequestDto.php (87%) rename src/{ => EconumoBundle}/Application/Connection/Dto/RevokeAccountAccessV1ResultDto.php (70%) rename src/{ => EconumoBundle}/Application/Connection/Dto/SetAccountAccessV1RequestDto.php (89%) rename src/{ => EconumoBundle}/Application/Connection/Dto/SetAccountAccessV1ResultDto.php (70%) rename src/{ => EconumoBundle}/Application/Connection/InviteService.php (59%) rename src/{ => EconumoBundle}/Application/Currency/Assembler/CurrencyIdToDtoV1ResultAssembler.php (70%) rename src/{ => EconumoBundle}/Application/Currency/Assembler/CurrencyRateToDtoV1ResultAssembler.php (74%) rename src/{ => EconumoBundle}/Application/Currency/Assembler/CurrencyToDtoV1ResultAssembler.php (70%) rename src/{ => EconumoBundle}/Application/Currency/Assembler/GetCurrencyListV1ResultAssembler.php (64%) rename src/{ => EconumoBundle}/Application/Currency/Assembler/GetCurrencyRateListV1ResultAssembler.php (66%) rename src/{ => EconumoBundle}/Application/Currency/CurrencyListService.php (57%) rename src/{ => EconumoBundle}/Application/Currency/CurrencyRateListService.php (57%) rename src/{ => EconumoBundle}/Application/Currency/Dto/CurrencyRateResultDto.php (93%) rename src/{ => EconumoBundle}/Application/Currency/Dto/CurrencyResultDto.php (92%) rename src/{ => EconumoBundle}/Application/Currency/Dto/GetCurrencyListV1RequestDto.php (73%) rename src/{ => EconumoBundle}/Application/Currency/Dto/GetCurrencyListV1ResultDto.php (68%) rename src/{ => EconumoBundle}/Application/Currency/Dto/GetCurrencyRateListV1RequestDto.php (71%) rename src/{ => EconumoBundle}/Application/Currency/Dto/GetCurrencyRateListV1ResultDto.php (68%) rename src/{ => EconumoBundle}/Application/Exception/AccessDeniedException.php (77%) rename src/{ => EconumoBundle}/Application/Exception/ApplicationException.php (65%) rename src/{ => EconumoBundle}/Application/Exception/ValidationException.php (82%) rename src/{ => EconumoBundle}/Application/Payee/Assembler/ArchivePayeeV1ResultAssembler.php (53%) rename src/{ => EconumoBundle}/Application/Payee/Assembler/CreatePayeeV1ResultAssembler.php (59%) rename src/{ => EconumoBundle}/Application/Payee/Assembler/DeletePayeeV1ResultAssembler.php (53%) rename src/{ => EconumoBundle}/Application/Payee/Assembler/GetPayeeListV1ResultAssembler.php (65%) rename src/{ => EconumoBundle}/Application/Payee/Assembler/OrderPayeeListV1ResultAssembler.php (63%) rename src/{ => EconumoBundle}/Application/Payee/Assembler/PayeeIdToDtoV1ResultAssembler.php (59%) rename src/{ => EconumoBundle}/Application/Payee/Assembler/PayeeToDtoV1ResultAssembler.php (79%) rename src/{ => EconumoBundle}/Application/Payee/Assembler/UnarchivePayeeV1ResultAssembler.php (54%) create mode 100644 src/EconumoBundle/Application/Payee/Assembler/UpdatePayeeV1ResultAssembler.php rename src/{ => EconumoBundle}/Application/Payee/Dto/ArchivePayeeV1RequestDto.php (83%) rename src/{ => EconumoBundle}/Application/Payee/Dto/ArchivePayeeV1ResultDto.php (71%) rename src/{ => EconumoBundle}/Application/Payee/Dto/CreatePayeeV1RequestDto.php (89%) rename src/{ => EconumoBundle}/Application/Payee/Dto/CreatePayeeV1ResultDto.php (68%) rename src/{ => EconumoBundle}/Application/Payee/Dto/DeletePayeeV1RequestDto.php (83%) rename src/{ => EconumoBundle}/Application/Payee/Dto/DeletePayeeV1ResultDto.php (71%) rename src/{ => EconumoBundle}/Application/Payee/Dto/GetPayeeListV1RequestDto.php (74%) rename src/{ => EconumoBundle}/Application/Payee/Dto/GetPayeeListV1ResultDto.php (69%) rename src/{ => EconumoBundle}/Application/Payee/Dto/OrderPayeeListV1RequestDto.php (65%) rename src/{ => EconumoBundle}/Application/Payee/Dto/OrderPayeeListV1ResultDto.php (69%) rename src/{ => EconumoBundle}/Application/Payee/Dto/PayeeResultDto.php (95%) rename src/{ => EconumoBundle}/Application/Payee/Dto/UnarchivePayeeV1RequestDto.php (83%) rename src/{ => EconumoBundle}/Application/Payee/Dto/UnarchivePayeeV1ResultDto.php (71%) rename src/{ => EconumoBundle}/Application/Payee/Dto/UpdatePayeeV1RequestDto.php (87%) rename src/{ => EconumoBundle}/Application/Payee/Dto/UpdatePayeeV1ResultDto.php (71%) rename src/{ => EconumoBundle}/Application/Payee/PayeeListService.php (59%) rename src/{ => EconumoBundle}/Application/Payee/PayeeService.php (66%) rename src/{ => EconumoBundle}/Application/System/Assembler/ImportCurrencyListV1ResultAssembler.php (54%) rename src/{ => EconumoBundle}/Application/System/Assembler/ImportCurrencyRatesV1ResultAssembler.php (54%) rename src/{ => EconumoBundle}/Application/System/CurrencyListService.php (62%) rename src/{ => EconumoBundle}/Application/System/CurrencyRatesService.php (68%) rename src/{ => EconumoBundle}/Application/System/Dto/CurrencyRateRequestDto.php (85%) rename src/{ => EconumoBundle}/Application/System/Dto/ImportCurrencyListV1RequestDto.php (84%) rename src/{ => EconumoBundle}/Application/System/Dto/ImportCurrencyListV1ResultDto.php (74%) rename src/{ => EconumoBundle}/Application/System/Dto/ImportCurrencyRatesV1RequestDto.php (71%) rename src/{ => EconumoBundle}/Application/System/Dto/ImportCurrencyRatesV1ResultDto.php (74%) rename src/{ => EconumoBundle}/Application/Tag/Assembler/ArchiveTagV1ResultAssembler.php (54%) rename src/{ => EconumoBundle}/Application/Tag/Assembler/CreateTagV1ResultAssembler.php (59%) rename src/{ => EconumoBundle}/Application/Tag/Assembler/DeleteTagV1ResultAssembler.php (54%) rename src/{ => EconumoBundle}/Application/Tag/Assembler/GetTagListV1ResultAssembler.php (65%) rename src/{ => EconumoBundle}/Application/Tag/Assembler/OrderTagListV1ResultAssembler.php (63%) rename src/{ => EconumoBundle}/Application/Tag/Assembler/TagIdToUserTagDtoResultAssembler.php (57%) rename src/{ => EconumoBundle}/Application/Tag/Assembler/TagToUserTagDtoResultAssembler.php (80%) rename src/{ => EconumoBundle}/Application/Tag/Assembler/UnarchiveTagV1ResultAssembler.php (54%) rename src/{ => EconumoBundle}/Application/Tag/Assembler/UpdateTagV1ResultAssembler.php (58%) rename src/{ => EconumoBundle}/Application/Tag/Dto/ArchiveTagV1RequestDto.php (83%) rename src/{ => EconumoBundle}/Application/Tag/Dto/ArchiveTagV1ResultDto.php (72%) rename src/{ => EconumoBundle}/Application/Tag/Dto/CreateTagV1RequestDto.php (89%) rename src/{ => EconumoBundle}/Application/Tag/Dto/CreateTagV1ResultDto.php (68%) rename src/{ => EconumoBundle}/Application/Tag/Dto/DeleteTagV1RequestDto.php (83%) rename src/{ => EconumoBundle}/Application/Tag/Dto/DeleteTagV1ResultDto.php (71%) rename src/{ => EconumoBundle}/Application/Tag/Dto/GetTagListV1RequestDto.php (74%) rename src/{ => EconumoBundle}/Application/Tag/Dto/GetTagListV1ResultDto.php (70%) rename src/{ => EconumoBundle}/Application/Tag/Dto/OrderTagListV1RequestDto.php (65%) rename src/{ => EconumoBundle}/Application/Tag/Dto/OrderTagListV1ResultDto.php (70%) rename src/{ => EconumoBundle}/Application/Tag/Dto/TagResultDto.php (95%) rename src/{ => EconumoBundle}/Application/Tag/Dto/UnarchiveTagV1RequestDto.php (84%) rename src/{ => EconumoBundle}/Application/Tag/Dto/UnarchiveTagV1ResultDto.php (72%) rename src/{ => EconumoBundle}/Application/Tag/Dto/UpdateTagV1RequestDto.php (87%) rename src/{ => EconumoBundle}/Application/Tag/Dto/UpdateTagV1ResultDto.php (68%) rename src/{ => EconumoBundle}/Application/Tag/TagListService.php (58%) rename src/{ => EconumoBundle}/Application/Tag/TagService.php (67%) rename src/{ => EconumoBundle}/Application/Transaction/Assembler/CreateTransactionV1ResultAssembler.php (62%) rename src/{ => EconumoBundle}/Application/Transaction/Assembler/DeleteTransactionV1ResultAssembler.php (62%) rename src/{ => EconumoBundle}/Application/Transaction/Assembler/GetTransactionListV1ResultAssembler.php (63%) rename src/{ => EconumoBundle}/Application/Transaction/Assembler/RequestToDomainDtoAssembler.php (80%) rename src/{ => EconumoBundle}/Application/Transaction/Assembler/TransactionToDtoResultAssembler.php (82%) rename src/{ => EconumoBundle}/Application/Transaction/Assembler/UpdateTransactionRequestToDomainDtoAssembler.php (80%) rename src/{ => EconumoBundle}/Application/Transaction/Assembler/UpdateTransactionV1ResultAssembler.php (62%) rename src/{ => EconumoBundle}/Application/Transaction/Dto/CreateTransactionV1RequestDto.php (95%) rename src/{ => EconumoBundle}/Application/Transaction/Dto/CreateTransactionV1ResultDto.php (65%) rename src/{ => EconumoBundle}/Application/Transaction/Dto/DeleteTransactionV1RequestDto.php (80%) rename src/{ => EconumoBundle}/Application/Transaction/Dto/DeleteTransactionV1ResultDto.php (65%) rename src/{ => EconumoBundle}/Application/Transaction/Dto/GetTransactionListV1RequestDto.php (89%) rename src/{ => EconumoBundle}/Application/Transaction/Dto/GetTransactionListV1ResultDto.php (67%) rename src/{ => EconumoBundle}/Application/Transaction/Dto/TransactionResultDto.php (85%) rename src/{ => EconumoBundle}/Application/Transaction/Dto/UpdateTransactionV1RequestDto.php (95%) rename src/{ => EconumoBundle}/Application/Transaction/Dto/UpdateTransactionV1ResultDto.php (65%) rename src/{ => EconumoBundle}/Application/Transaction/TransactionListService.php (71%) rename src/{ => EconumoBundle}/Application/Transaction/TransactionService.php (67%) rename src/{ => EconumoBundle}/Application/User/Assembler/CurrentUserIdToDtoResultAssembler.php (59%) rename src/{ => EconumoBundle}/Application/User/Assembler/CurrentUserToDtoResultAssembler.php (77%) rename src/{ => EconumoBundle}/Application/User/Assembler/GetChangesListV1ResultAssembler.php (70%) rename src/{ => EconumoBundle}/Application/User/Assembler/GetOptionListV1ResultAssembler.php (68%) rename src/{ => EconumoBundle}/Application/User/Assembler/GetUserDataV1ResultAssembler.php (60%) rename src/{ => EconumoBundle}/Application/User/Assembler/LoginUserV1ResultAssembler.php (66%) rename src/{ => EconumoBundle}/Application/User/Assembler/LogoutUserV1ResultAssembler.php (59%) rename src/{ => EconumoBundle}/Application/User/Assembler/OptionToDtoResultAssembler.php (64%) rename src/{ => EconumoBundle}/Application/User/Assembler/RegisterUserV1ResultAssembler.php (60%) rename src/{ => EconumoBundle}/Application/User/Assembler/RemindPasswordV1ResultAssembler.php (54%) rename src/{ => EconumoBundle}/Application/User/Assembler/ResetPasswordV1ResultAssembler.php (55%) rename src/{ => EconumoBundle}/Application/User/Assembler/UpdateBudgetV1ResultAssembler.php (60%) rename src/{ => EconumoBundle}/Application/User/Assembler/UpdateCurrencyV1ResultAssembler.php (60%) rename src/{ => EconumoBundle}/Application/User/Assembler/UpdateNameV1ResultAssembler.php (60%) rename src/{ => EconumoBundle}/Application/User/Assembler/UpdatePasswordV1ResultAssembler.php (54%) rename src/{ => EconumoBundle}/Application/User/Assembler/UpdateReportPeriodV1ResultAssembler.php (60%) rename src/{ => EconumoBundle}/Application/User/Assembler/UserIdToDtoResultAssembler.php (58%) rename src/{ => EconumoBundle}/Application/User/Assembler/UserToDtoResultAssembler.php (67%) rename src/{ => EconumoBundle}/Application/User/BudgetService.php (57%) rename src/{ => EconumoBundle}/Application/User/CurrencyService.php (56%) rename src/{ => EconumoBundle}/Application/User/Dto/CurrentUserResultDto.php (91%) rename src/{ => EconumoBundle}/Application/User/Dto/GetOptionListV1RequestDto.php (72%) rename src/{ => EconumoBundle}/Application/User/Dto/GetOptionListV1ResultDto.php (69%) rename src/{ => EconumoBundle}/Application/User/Dto/GetUserDataV1RequestDto.php (74%) rename src/{ => EconumoBundle}/Application/User/Dto/GetUserDataV1ResultDto.php (62%) rename src/{ => EconumoBundle}/Application/User/Dto/LoginUserV1RequestDto.php (88%) rename src/{ => EconumoBundle}/Application/User/Dto/LoginUserV1ResultDto.php (91%) rename src/{ => EconumoBundle}/Application/User/Dto/LogoutUserV1RequestDto.php (81%) rename src/{ => EconumoBundle}/Application/User/Dto/LogoutUserV1ResultDto.php (74%) rename src/{ => EconumoBundle}/Application/User/Dto/OptionResultDto.php (88%) rename src/{ => EconumoBundle}/Application/User/Dto/RegisterUserV1RequestDto.php (89%) rename src/{ => EconumoBundle}/Application/User/Dto/RegisterUserV1ResultDto.php (62%) rename src/{ => EconumoBundle}/Application/User/Dto/RemindPasswordV1RequestDto.php (83%) rename src/{ => EconumoBundle}/Application/User/Dto/RemindPasswordV1ResultDto.php (74%) rename src/{ => EconumoBundle}/Application/User/Dto/ResetPasswordV1RequestDto.php (89%) rename src/{ => EconumoBundle}/Application/User/Dto/ResetPasswordV1ResultDto.php (74%) rename src/{ => EconumoBundle}/Application/User/Dto/UpdateBudgetV1RequestDto.php (84%) rename src/{ => EconumoBundle}/Application/User/Dto/UpdateBudgetV1ResultDto.php (66%) rename src/{ => EconumoBundle}/Application/User/Dto/UpdateCurrencyV1RequestDto.php (82%) rename src/{ => EconumoBundle}/Application/User/Dto/UpdateCurrencyV1ResultDto.php (62%) rename src/{ => EconumoBundle}/Application/User/Dto/UpdateNameV1RequestDto.php (82%) rename src/{ => EconumoBundle}/Application/User/Dto/UpdateNameV1ResultDto.php (62%) rename src/{ => EconumoBundle}/Application/User/Dto/UpdatePasswordV1RequestDto.php (87%) rename src/{ => EconumoBundle}/Application/User/Dto/UpdatePasswordV1ResultDto.php (72%) rename src/{ => EconumoBundle}/Application/User/Dto/UpdateReportPeriodV1RequestDto.php (82%) rename src/{ => EconumoBundle}/Application/User/Dto/UpdateReportPeriodV1ResultDto.php (67%) rename src/{ => EconumoBundle}/Application/User/Dto/UserResultDto.php (91%) rename src/{ => EconumoBundle}/Application/User/NameService.php (58%) rename src/{ => EconumoBundle}/Application/User/OptionListService.php (58%) rename src/{ => EconumoBundle}/Application/User/PasswordService.php (59%) rename src/{ => EconumoBundle}/Application/User/ReportPeriodService.php (56%) rename src/{ => EconumoBundle}/Application/User/UserDataService.php (56%) rename src/{ => EconumoBundle}/Application/User/UserService.php (61%) rename src/{ => EconumoBundle}/Command/CreateUserCommand.php (87%) rename src/{ => EconumoBundle}/Command/MakeAPIMaker.php (99%) rename src/{ => EconumoBundle}/DataFixtures/AbstractFixture.php (97%) rename src/{ => EconumoBundle}/DataFixtures/AccountAccessFixtures.php (62%) rename src/{ => EconumoBundle}/DataFixtures/AccountFixtures.php (62%) rename src/{ => EconumoBundle}/DataFixtures/AccountOptionsFixtures.php (63%) rename src/{ => EconumoBundle}/DataFixtures/CategoryFixtures.php (67%) rename src/{ => EconumoBundle}/DataFixtures/ConnectionInviteFixtures.php (69%) rename src/{ => EconumoBundle}/DataFixtures/CurrencyFixtures.php (52%) rename src/{ => EconumoBundle}/DataFixtures/CurrencyRateFixtures.php (67%) rename src/{ => EconumoBundle}/DataFixtures/FolderAccountFixtures.php (62%) rename src/{ => EconumoBundle}/DataFixtures/FolderFixtures.php (67%) rename src/{ => EconumoBundle}/DataFixtures/PayeeFixtures.php (67%) rename src/{ => EconumoBundle}/DataFixtures/TagFixtures.php (66%) rename src/{ => EconumoBundle}/DataFixtures/TransactionFixtures.php (57%) rename src/{ => EconumoBundle}/DataFixtures/UserConnectionFixtures.php (68%) rename src/{ => EconumoBundle}/DataFixtures/UserFixtures.php (50%) rename src/{ => EconumoBundle}/DataFixtures/UserOptionFixtures.php (67%) rename src/{ => EconumoBundle}/DataFixtures/UserPasswordRequestFixtures.php (69%) rename src/{ => EconumoBundle}/Domain/Entity/Account.php (89%) rename src/{ => EconumoBundle}/Domain/Entity/AccountAccess.php (81%) rename src/{ => EconumoBundle}/Domain/Entity/AccountAccessInvite.php (78%) rename src/{ => EconumoBundle}/Domain/Entity/AccountOptions.php (83%) rename src/{ => EconumoBundle}/Domain/Entity/Budget.php (90%) rename src/{ => EconumoBundle}/Domain/Entity/BudgetAccess.php (84%) rename src/{ => EconumoBundle}/Domain/Entity/BudgetEntityAmount.php (89%) rename src/{ => EconumoBundle}/Domain/Entity/BudgetEntityOption.php (83%) rename src/{ => EconumoBundle}/Domain/Entity/BudgetEnvelope.php (85%) rename src/{ => EconumoBundle}/Domain/Entity/BudgetFolder.php (81%) rename src/{ => EconumoBundle}/Domain/Entity/Category.php (84%) rename src/{ => EconumoBundle}/Domain/Entity/ConnectionInvite.php (79%) rename src/{ => EconumoBundle}/Domain/Entity/Currency.php (84%) rename src/{ => EconumoBundle}/Domain/Entity/CurrencyRate.php (83%) rename src/{ => EconumoBundle}/Domain/Entity/Folder.php (87%) rename src/{ => EconumoBundle}/Domain/Entity/Payee.php (89%) rename src/{ => EconumoBundle}/Domain/Entity/Tag.php (84%) rename src/{ => EconumoBundle}/Domain/Entity/Transaction.php (93%) rename src/{ => EconumoBundle}/Domain/Entity/User.php (92%) rename src/{ => EconumoBundle}/Domain/Entity/UserOption.php (86%) rename src/{ => EconumoBundle}/Domain/Entity/UserPasswordRequest.php (73%) create mode 100644 src/EconumoBundle/Domain/Entity/ValueObject/AccountName.php rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/AccountType.php (95%) rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/AccountUserRole.php (95%) rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/BudgetEntityType.php (95%) create mode 100644 src/EconumoBundle/Domain/Entity/ValueObject/BudgetEnvelopeName.php create mode 100644 src/EconumoBundle/Domain/Entity/ValueObject/BudgetFolderName.php create mode 100644 src/EconumoBundle/Domain/Entity/ValueObject/BudgetName.php create mode 100644 src/EconumoBundle/Domain/Entity/ValueObject/CategoryName.php rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/CategoryType.php (97%) rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/ConnectionCode.php (78%) rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/CurrencyCode.php (75%) rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/Email.php (83%) create mode 100644 src/EconumoBundle/Domain/Entity/ValueObject/FolderName.php rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/GenericName.php (70%) rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/Icon.php (87%) rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/Id.php (93%) rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/Identifier.php (80%) rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/NameInterface.php (63%) create mode 100644 src/EconumoBundle/Domain/Entity/ValueObject/PayeeName.php rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/PlanPeriodType.php (74%) rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/ReportPeriod.php (69%) create mode 100644 src/EconumoBundle/Domain/Entity/ValueObject/TagName.php rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/TransactionType.php (97%) rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/UserPasswordRequestCode.php (75%) rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/UserRole.php (95%) rename src/{ => EconumoBundle}/Domain/Entity/ValueObject/ValueObjectInterface.php (82%) rename src/{ => EconumoBundle}/Domain/Events/AccountFolderCreatedEvent.php (77%) rename src/{ => EconumoBundle}/Domain/Events/BudgetEnvelopeCreatedEvent.php (75%) rename src/{ => EconumoBundle}/Domain/Events/BudgetFolderCreatedEvent.php (71%) rename src/{ => EconumoBundle}/Domain/Events/CategoryCreatedEvent.php (77%) rename src/{ => EconumoBundle}/Domain/Events/RemindPasswordRequestedEvent.php (69%) rename src/{ => EconumoBundle}/Domain/Events/TagCreatedEvent.php (76%) rename src/{ => EconumoBundle}/Domain/Events/UserRegisteredEvent.php (70%) create mode 100644 src/EconumoBundle/Domain/Exception/AccessDeniedException.php create mode 100644 src/EconumoBundle/Domain/Exception/AccountAccessException.php create mode 100644 src/EconumoBundle/Domain/Exception/CategoryAlreadyExistsException.php rename src/{ => EconumoBundle}/Domain/Exception/DomainException.php (60%) rename src/{ => EconumoBundle}/Domain/Exception/DomainExceptionInterface.php (70%) create mode 100644 src/EconumoBundle/Domain/Exception/EnvelopeIsNotEmptyException.php create mode 100644 src/EconumoBundle/Domain/Exception/FolderAlreadyExistsException.php create mode 100644 src/EconumoBundle/Domain/Exception/LastFolderRemoveException.php create mode 100644 src/EconumoBundle/Domain/Exception/NotFoundException.php create mode 100644 src/EconumoBundle/Domain/Exception/PayeeAlreadyExistsException.php create mode 100644 src/EconumoBundle/Domain/Exception/PlanAlreadyExistsException.php create mode 100644 src/EconumoBundle/Domain/Exception/PlanFolderIsNotEmptyException.php create mode 100644 src/EconumoBundle/Domain/Exception/RecipientIsRequiredException.php create mode 100644 src/EconumoBundle/Domain/Exception/ReplaceCategoryException.php create mode 100644 src/EconumoBundle/Domain/Exception/RevokeOwnerAccessException.php create mode 100644 src/EconumoBundle/Domain/Exception/TagAlreadyExistsException.php create mode 100644 src/EconumoBundle/Domain/Exception/UserOptionException.php create mode 100644 src/EconumoBundle/Domain/Exception/UserPasswordNotValidException.php rename src/{ => EconumoBundle}/Domain/Exception/UserPasswordRequestExpiredException.php (50%) create mode 100644 src/EconumoBundle/Domain/Exception/UserRegisteredException.php create mode 100644 src/EconumoBundle/Domain/Exception/UserRegistrationDisabledException.php rename src/{ => EconumoBundle}/Domain/Factory/AccountAccessFactory.php (58%) create mode 100644 src/EconumoBundle/Domain/Factory/AccountAccessFactoryInterface.php rename src/{ => EconumoBundle}/Domain/Factory/AccountAccessInviteFactory.php (63%) create mode 100644 src/EconumoBundle/Domain/Factory/AccountAccessInviteFactoryInterface.php rename src/{ => EconumoBundle}/Domain/Factory/AccountFactory.php (58%) create mode 100644 src/EconumoBundle/Domain/Factory/AccountFactoryInterface.php rename src/{ => EconumoBundle}/Domain/Factory/AccountOptionsFactory.php (63%) rename src/{ => EconumoBundle}/Domain/Factory/AccountOptionsFactoryInterface.php (56%) rename src/{ => EconumoBundle}/Domain/Factory/BudgetEntityOptionFactory.php (81%) rename src/{ => EconumoBundle}/Domain/Factory/BudgetEntityOptionFactoryInterface.php (80%) rename src/{ => EconumoBundle}/Domain/Factory/BudgetFactory.php (57%) rename src/{ => EconumoBundle}/Domain/Factory/BudgetFactoryInterface.php (53%) rename src/{ => EconumoBundle}/Domain/Factory/CategoryFactory.php (55%) create mode 100644 src/EconumoBundle/Domain/Factory/CategoryFactoryInterface.php rename src/{ => EconumoBundle}/Domain/Factory/ConnectionInviteFactory.php (51%) rename src/{ => EconumoBundle}/Domain/Factory/ConnectionInviteFactoryInterface.php (50%) create mode 100644 src/EconumoBundle/Domain/Factory/CurrencyFactoryInterface.php rename src/{ => EconumoBundle}/Domain/Factory/CurrencyRateFactory.php (68%) rename src/{ => EconumoBundle}/Domain/Factory/CurrencyRateFactoryInterface.php (65%) rename src/{ => EconumoBundle}/Domain/Factory/FolderFactory.php (57%) create mode 100644 src/EconumoBundle/Domain/Factory/FolderFactoryInterface.php create mode 100644 src/EconumoBundle/Domain/Factory/PasswordUserRequestFactoryInterface.php rename src/{ => EconumoBundle}/Domain/Factory/PayeeFactory.php (57%) create mode 100644 src/EconumoBundle/Domain/Factory/PayeeFactoryInterface.php rename src/{ => EconumoBundle}/Domain/Factory/TagFactory.php (57%) create mode 100644 src/EconumoBundle/Domain/Factory/TagFactoryInterface.php rename src/{ => EconumoBundle}/Domain/Factory/TransactionFactory.php (79%) rename src/{ => EconumoBundle}/Domain/Factory/TransactionFactoryInterface.php (68%) rename src/{ => EconumoBundle}/Domain/Factory/UserFactoryInterface.php (51%) rename src/{ => EconumoBundle}/Domain/Factory/UserOptionFactory.php (63%) rename src/{ => EconumoBundle}/Domain/Factory/UserOptionFactoryInterface.php (54%) rename src/{ => EconumoBundle}/Domain/Factory/UserPasswordRequestFactory.php (58%) rename src/{ => EconumoBundle}/Domain/Repository/AccountAccessInviteRepositoryInterface.php (71%) rename src/{ => EconumoBundle}/Domain/Repository/AccountAccessRepositoryInterface.php (78%) rename src/{ => EconumoBundle}/Domain/Repository/AccountOptionsRepositoryInterface.php (69%) rename src/{ => EconumoBundle}/Domain/Repository/AccountRepositoryInterface.php (93%) rename src/{ => EconumoBundle}/Domain/Repository/BudgetAccessRepositoryInterface.php (80%) rename src/{ => EconumoBundle}/Domain/Repository/BudgetEntityAmountRepositoryInterface.php (82%) rename src/{ => EconumoBundle}/Domain/Repository/BudgetEntityOptionRepositoryInterface.php (75%) rename src/{ => EconumoBundle}/Domain/Repository/BudgetEnvelopeRepositoryInterface.php (75%) rename src/{ => EconumoBundle}/Domain/Repository/BudgetFolderRepositoryInterface.php (71%) rename src/{ => EconumoBundle}/Domain/Repository/BudgetRepositoryInterface.php (78%) rename src/{ => EconumoBundle}/Domain/Repository/CategoryRepositoryInterface.php (85%) rename src/{ => EconumoBundle}/Domain/Repository/ConnectionInviteRepositoryInterface.php (61%) rename src/{ => EconumoBundle}/Domain/Repository/CurrencyRateRepositoryInterface.php (84%) rename src/{ => EconumoBundle}/Domain/Repository/CurrencyRepositoryInterface.php (70%) rename src/{ => EconumoBundle}/Domain/Repository/FolderRepositoryInterface.php (78%) rename src/{ => EconumoBundle}/Domain/Repository/PayeeRepositoryInterface.php (79%) rename src/{ => EconumoBundle}/Domain/Repository/TagRepositoryInterface.php (84%) rename src/{ => EconumoBundle}/Domain/Repository/TransactionRepositoryInterface.php (93%) rename src/{ => EconumoBundle}/Domain/Repository/UserOptionRepositoryInterface.php (76%) rename src/{ => EconumoBundle}/Domain/Repository/UserPasswordRequestRepositoryInterface.php (69%) rename src/{ => EconumoBundle}/Domain/Repository/UserRepositoryInterface.php (61%) rename src/{ => EconumoBundle}/Domain/Service/AccountAccessInviteService.php (72%) create mode 100644 src/EconumoBundle/Domain/Service/AccountAccessInviteServiceInterface.php rename src/{ => EconumoBundle}/Domain/Service/AccountAccessService.php (91%) rename src/{ => EconumoBundle}/Domain/Service/AccountAccessServiceInterface.php (92%) rename src/{ => EconumoBundle}/Domain/Service/AccountService.php (85%) rename src/{ => EconumoBundle}/Domain/Service/AccountServiceInterface.php (58%) rename src/{ => EconumoBundle}/Domain/Service/Analytics/BalanceAnalyticsService.php (77%) rename src/{ => EconumoBundle}/Domain/Service/Analytics/BalanceAnalyticsServiceInterface.php (68%) rename src/{ => EconumoBundle}/Domain/Service/AntiCorruptionServiceInterface.php (84%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Assembler/AverageCurrencyRateDtoAssembler.php (78%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Assembler/BudgetDtoAssembler.php (72%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Assembler/BudgetElementsAmountDtoAssembler.php (94%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Assembler/BudgetFiltersDtoAssembler.php (87%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Assembler/BudgetFinancialSummaryDtoAssembler.php (78%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Assembler/BudgetMetaDtoAssembler.php (71%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Assembler/BudgetStructureDtoAssembler.php (92%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Assembler/BudgetStructureFolderDtoAssembler.php (64%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Assembler/CurrencyBalanceDtoAssembler.php (88%) rename src/{ => EconumoBundle}/Domain/Service/Budget/BudgetAccessService.php (85%) rename src/{ => EconumoBundle}/Domain/Service/Budget/BudgetAccessServiceInterface.php (72%) rename src/{ => EconumoBundle}/Domain/Service/Budget/BudgetDataService.php (78%) rename src/{ => EconumoBundle}/Domain/Service/Budget/BudgetDeletionService.php (75%) rename src/{ => EconumoBundle}/Domain/Service/Budget/BudgetEntityService.php (80%) rename src/{ => EconumoBundle}/Domain/Service/Budget/BudgetEntityServiceInterface.php (73%) rename src/{ => EconumoBundle}/Domain/Service/Budget/BudgetService.php (66%) rename src/{ => EconumoBundle}/Domain/Service/Budget/BudgetServiceInterface.php (70%) rename src/{ => EconumoBundle}/Domain/Service/Budget/BudgetStructureService.php (59%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/AverageCurrencyRateDto.php (62%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/BudgetCategoryDto.php (60%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/BudgetDataDto.php (61%) create mode 100644 src/EconumoBundle/Domain/Service/Budget/Dto/BudgetDto.php rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/BudgetEntityAmountDto.php (66%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/BudgetEntityAmountSpentDto.php (73%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/BudgetEntityOptionDto.php (62%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/BudgetEnvelopeDto.php (63%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/BudgetFiltersDto.php (75%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/BudgetFinancialSummaryDto.php (60%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/BudgetMetaDto.php (64%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/BudgetStructureChildElementDto.php (52%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/BudgetStructureDto.php (57%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/BudgetStructureFolderDto.php (55%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/BudgetStructureParentElementDto.php (56%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/BudgetTagDto.php (53%) rename src/{ => EconumoBundle}/Domain/Service/Budget/Dto/CurrencyBalanceDto.php (76%) rename src/{ => EconumoBundle}/Domain/Service/CategoryService.php (86%) rename src/{ => EconumoBundle}/Domain/Service/CategoryServiceInterface.php (69%) rename src/{ => EconumoBundle}/Domain/Service/Connection/ConnectionAccountService.php (82%) rename src/{ => EconumoBundle}/Domain/Service/Connection/ConnectionAccountServiceInterface.php (70%) rename src/{ => EconumoBundle}/Domain/Service/Connection/ConnectionInviteService.php (77%) rename src/{ => EconumoBundle}/Domain/Service/Connection/ConnectionInviteServiceInterface.php (53%) rename src/{ => EconumoBundle}/Domain/Service/Connection/ConnectionService.php (82%) rename src/{ => EconumoBundle}/Domain/Service/Connection/ConnectionServiceInterface.php (64%) rename src/{ => EconumoBundle}/Domain/Service/Currency/CurrencyConvertor.php (89%) rename src/{ => EconumoBundle}/Domain/Service/Currency/CurrencyConvertorInterface.php (65%) rename src/{ => EconumoBundle}/Domain/Service/Currency/CurrencyRateService.php (82%) rename src/{ => EconumoBundle}/Domain/Service/Currency/CurrencyRateServiceInterface.php (78%) rename src/{ => EconumoBundle}/Domain/Service/Currency/CurrencyRatesUpdateService.php (74%) rename src/{ => EconumoBundle}/Domain/Service/Currency/CurrencyRatesUpdateServiceInterface.php (67%) rename src/{ => EconumoBundle}/Domain/Service/Currency/CurrencyService.php (74%) rename src/{ => EconumoBundle}/Domain/Service/Currency/CurrencyServiceInterface.php (70%) rename src/{ => EconumoBundle}/Domain/Service/Currency/CurrencyUpdateService.php (76%) rename src/{ => EconumoBundle}/Domain/Service/Currency/CurrencyUpdateServiceInterface.php (67%) rename src/{ => EconumoBundle}/Domain/Service/Currency/Dto/CurrencyConvertorDto.php (75%) rename src/{ => EconumoBundle}/Domain/Service/DatetimeServiceInterface.php (78%) rename src/{ => EconumoBundle}/Domain/Service/Dto/AccountDto.php (68%) rename src/{ => EconumoBundle}/Domain/Service/Dto/AccountPositionDto.php (80%) rename src/{ => EconumoBundle}/Domain/Service/Dto/BalanceAnalyticsDto.php (76%) rename src/{ => EconumoBundle}/Domain/Service/Dto/CurrencyDto.php (51%) rename src/{ => EconumoBundle}/Domain/Service/Dto/CurrencyRateDto.php (65%) rename src/{ => EconumoBundle}/Domain/Service/Dto/EnvelopePositionDto.php (76%) rename src/{ => EconumoBundle}/Domain/Service/Dto/FullCurrencyRateDto.php (64%) rename src/{ => EconumoBundle}/Domain/Service/Dto/PlanDataBalanceDto.php (77%) rename src/{ => EconumoBundle}/Domain/Service/Dto/PlanDataCategoryDto.php (58%) rename src/{ => EconumoBundle}/Domain/Service/Dto/PlanDataCurrencyRateDto.php (68%) rename src/{ => EconumoBundle}/Domain/Service/Dto/PlanDataDto.php (59%) rename src/{ => EconumoBundle}/Domain/Service/Dto/PlanDataEnvelopeDto.php (59%) rename src/{ => EconumoBundle}/Domain/Service/Dto/PlanDataExchangeDto.php (59%) rename src/{ => EconumoBundle}/Domain/Service/Dto/PlanDataTagDto.php (57%) rename src/{ => EconumoBundle}/Domain/Service/Dto/PlanDto.php (83%) rename src/{ => EconumoBundle}/Domain/Service/Dto/PositionDto.php (71%) rename src/{ => EconumoBundle}/Domain/Service/Dto/TransactionDto.php (65%) rename src/{ => EconumoBundle}/Domain/Service/EmailServiceInterface.php (52%) rename src/{ => EconumoBundle}/Domain/Service/EventDispatcherInterface.php (94%) rename src/{ => EconumoBundle}/Domain/Service/EventHandlerInterface.php (61%) rename src/{ => EconumoBundle}/Domain/Service/FolderService.php (87%) rename src/{ => EconumoBundle}/Domain/Service/FolderServiceInterface.php (70%) rename src/{ => EconumoBundle}/Domain/Service/MetricServiceInterface.php (89%) rename src/{ => EconumoBundle}/Domain/Service/PasswordUserReminderService.php (74%) rename src/{ => EconumoBundle}/Domain/Service/PasswordUserReminderServiceInterface.php (61%) rename src/{ => EconumoBundle}/Domain/Service/PayeeService.php (85%) rename src/{ => EconumoBundle}/Domain/Service/PayeeServiceInterface.php (72%) rename src/{ => EconumoBundle}/Domain/Service/TagService.php (86%) rename src/{ => EconumoBundle}/Domain/Service/TagServiceInterface.php (71%) rename src/{ => EconumoBundle}/Domain/Service/TransactionService.php (91%) rename src/{ => EconumoBundle}/Domain/Service/TransactionServiceInterface.php (77%) rename src/{ => EconumoBundle}/Domain/Service/Translation/TranslationServiceInterface.php (97%) rename src/{ => EconumoBundle}/Domain/Service/User/UserPasswordServiceInterface.php (64%) rename src/{ => EconumoBundle}/Domain/Service/User/UserRegistrationService.php (71%) rename src/{ => EconumoBundle}/Domain/Service/User/UserRegistrationServiceInterface.php (73%) rename src/{ => EconumoBundle}/Domain/Service/UserService.php (75%) rename src/{ => EconumoBundle}/Domain/Service/UserServiceInterface.php (61%) rename src/{ => EconumoBundle}/Domain/Traits/EntityTrait.php (75%) rename src/{ => EconumoBundle}/Domain/Traits/EventTrait.php (93%) rename src/{ => EconumoBundle}/Domain/Traits/ValueObjectTrait.php (86%) rename src/{ => EconumoBundle}/Infrastructure/Auth/AuthenticationFailureHandler.php (84%) rename src/{ => EconumoBundle}/Infrastructure/Auth/AuthenticationSuccessListener.php (80%) rename src/{ => EconumoBundle}/Infrastructure/Auth/AuthenticationUpdateTokenPayload.php (82%) rename src/{ => EconumoBundle}/Infrastructure/Datetime/DatetimeService.php (69%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/DatabaseTransactionService.php (88%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/OperationId.php (91%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/Account.orm.xml (84%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/AccountAccess.orm.xml (72%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/AccountOptions.orm.xml (78%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/Budget.orm.xml (74%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/BudgetAccess.orm.xml (76%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/BudgetEntityAmount.orm.xml (83%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/BudgetEntityOption.orm.xml (76%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/BudgetEnvelope.orm.xml (82%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/BudgetFolder.orm.xml (81%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/Category.orm.xml (84%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/ConnectionInvite.orm.xml (77%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/Currency.orm.xml (82%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/CurrencyRate.orm.xml (77%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/Folder.orm.xml (84%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/Payee.orm.xml (84%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/Tag.orm.xml (85%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/Transaction.orm.xml (78%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/User.orm.xml (79%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/UserOption.orm.xml (80%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Entity/mapping/UserPasswordRequest.orm.xml (79%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Factory/CurrencyFactory.php (68%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Factory/OperationIdFactory.php (56%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Factory/UserFactory.php (70%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20210812210548.php (97%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20210815145533.php (94%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20210815182016.php (95%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20210820192632.php (95%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20210820205511.php (95%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20210820211021.php (95%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20210821094922.php (96%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20210822101630.php (94%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20210823194424.php (94%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211007104122.php (95%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211007130212.php (95%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211024163413.php (95%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211121195400.php (96%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211128150459.php (96%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211128154246.php (96%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211128160957.php (97%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211128162728.php (95%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211128165440.php (95%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211128170211.php (95%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211128172045.php (98%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211130185558.php (96%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211130192704.php (93%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211130192857.php (96%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211130200333.php (96%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211208183725.php (97%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20211219071725.php (93%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20220102163923.php (94%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20220103084323.php (97%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20220103100247.php (94%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20220103114330.php (94%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20220105165436.php (94%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20220108154733.php (97%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20220116100634.php (97%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20220116172031.php (96%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20220217195918.php (95%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20220220121754.php (96%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20220313191418.php (96%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20220314194214.php (94%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20220526192053.php (94%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20230219210615.php (96%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20230905032555.php (98%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20230917045851.php (98%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20230917202434.php (96%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20230917210936.php (94%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20230917224327.php (96%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20230918000357.php (94%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20231012034345.php (98%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20231019035622.php (99%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20231019040323.php (94%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20231020013838.php (97%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20231022185136.php (94%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20231029160624.php (95%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20231120013455.php (97%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20240811061046.php (99%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20240903212637.php (98%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20240904000307.php (96%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20240909022209.php (97%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20240909024012.php (95%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20240909042328.php (97%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20240909052918.php (96%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20240910041130.php (99%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20240915221226.php (98%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20240915221524.php (97%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20240922033856.php (98%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20240922035939.php (98%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20240923001558.php (97%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20240923015318.php (98%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Migration/Version20240927025211.php (97%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/AccountAccessInviteRepository.php (86%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/AccountAccessRepository.php (84%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/AccountOptionsRepository.php (86%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/AccountRepository.php (97%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/BudgetAccessRepository.php (77%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/BudgetEntityAmountRepository.php (80%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/BudgetEntityOptionRepository.php (65%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/BudgetEnvelopeRepository.php (71%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/BudgetFolderRepository.php (67%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/BudgetRepository.php (68%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/CategoryRepository.php (88%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/ConnectionInviteRepository.php (83%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/CurrencyRateRepository.php (94%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/CurrencyRepository.php (86%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/FolderRepository.php (89%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/OperationIdRepository.php (87%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/PayeeRepository.php (85%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/TagRepository.php (88%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/Traits/DeleteTrait.php (81%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/Traits/GetEntityReferenceTrait.php (64%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/Traits/NextIdentityTrait.php (69%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/Traits/SaveTrait.php (89%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/TransactionRepository.php (93%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/UserOptionRepository.php (87%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/UserPasswordRequestRepository.php (87%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Repository/UserRepository.php (88%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/AccountNameType.php (73%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/AccountType.php (85%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/AccountUserRoleType.php (85%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/BudgetEntityType.php (84%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/BudgetEnvelopeNameType.php (74%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/BudgetFolderNameType.php (74%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/BudgetNameType.php (73%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/CategoryNameType.php (73%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/CategoryType.php (85%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/ConnectionCodeType.php (74%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/CurrencyCodeType.php (73%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/FolderNameType.php (73%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/IconType.php (73%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/PayeeNameType.php (73%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/ReflectionValueObjectTrait.php (90%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/TagNameType.php (73%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/TransactionType.php (85%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/UserPasswordRequestCodeType.php (74%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/UserRoleType.php (85%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/Type/UuidType.php (80%) rename src/{ => EconumoBundle}/Infrastructure/Doctrine/UserProvider.php (91%) rename src/{ => EconumoBundle}/Infrastructure/Exception/OperationObjectLockedException.php (65%) rename src/{ => EconumoBundle}/Infrastructure/Symfony/Form/Constraints/OperationId.php (84%) rename src/{ => EconumoBundle}/Infrastructure/Symfony/Form/Constraints/OperationIdValidator.php (81%) rename src/{ => EconumoBundle}/Infrastructure/Symfony/Form/Type/CurrencyRateType.php (84%) rename src/{ => EconumoBundle}/Infrastructure/Symfony/Form/Type/PositionType.php (89%) rename src/{ => EconumoBundle}/Infrastructure/Symfony/Form/ValueObjectValidationFactory.php (73%) rename src/{ => EconumoBundle}/Infrastructure/Symfony/Form/ValueObjectValidator.php (89%) rename src/{ => EconumoBundle}/Infrastructure/Symfony/Mailer/EmailService.php (80%) rename src/{ => EconumoBundle}/Infrastructure/Symfony/Messenger/EventDispatcher.php (92%) rename src/{ => EconumoBundle}/Infrastructure/Symfony/OperationService.php (77%) rename src/{ => EconumoBundle}/Infrastructure/Symfony/PasswordHasher/UserPasswordService.php (74%) rename src/{ => EconumoBundle}/Infrastructure/Symfony/Translation/TranslationService.php (77%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Account/CreateAccountV1Controller.php (71%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Account/DeleteAccountV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Account/UpdateAccountV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Account/Validation/CreateAccountV1Form.php (84%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Account/Validation/DeleteAccountV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Account/Validation/UpdateAccountV1Form.php (87%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/AccountList/GetAccountListV1Controller.php (75%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/AccountList/OrderAccountListV1Controller.php (71%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/AccountList/Validation/AccountPositionForm.php (88%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/AccountList/Validation/GetAccountListV1Form.php (85%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/AccountList/Validation/OrderAccountListV1Form.php (82%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Folder/CreateFolderV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Folder/HideFolderV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Folder/ReplaceFolderV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Folder/ShowFolderV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Folder/UpdateFolderV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Folder/Validation/CreateFolderV1Form.php (81%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Folder/Validation/HideFolderV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Folder/Validation/ReplaceFolderV1Form.php (92%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Folder/Validation/ShowFolderV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/Folder/Validation/UpdateFolderV1Form.php (83%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/FolderList/GetFolderListV1Controller.php (75%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/FolderList/OrderFolderListV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/FolderList/Validation/GetFolderListV1Form.php (90%) rename src/{ => EconumoBundle}/UI/Controller/Api/Account/FolderList/Validation/OrderFolderListV1Form.php (84%) rename src/{ => EconumoBundle}/UI/Controller/Api/Analytics/Balance/GetBalanceV1Controller.php (78%) rename src/{ => EconumoBundle}/UI/Controller/Api/Analytics/Balance/Validation/GetBalanceV1Form.php (92%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/Account/ExcludeAccountV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/Account/IncludeAccountV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/Account/Validation/ExcludeAccountV1Form.php (86%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/Account/Validation/IncludeAccountV1Form.php (86%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/Budget/CreateBudgetV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/Budget/DeleteBudgetV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/Budget/GetBudgetV1Controller.php (79%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/Budget/ResetBudgetV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/Budget/UpdateBudgetV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/Budget/Validation/CreateBudgetV1Form.php (78%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/Budget/Validation/DeleteBudgetV1Form.php (85%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/Budget/Validation/GetBudgetV1Form.php (87%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/Budget/Validation/ResetBudgetV1Form.php (87%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/Budget/Validation/UpdateBudgetV1Form.php (85%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/BudgetList/GetBudgetListV1Controller.php (75%) rename src/{ => EconumoBundle}/UI/Controller/Api/Budget/BudgetList/Validation/GetBudgetListV1Form.php (86%) rename src/{ => EconumoBundle}/UI/Controller/Api/Category/Category/ArchiveCategoryV1Controller.php (71%) rename src/{ => EconumoBundle}/UI/Controller/Api/Category/Category/CreateCategoryV1Controller.php (71%) rename src/{ => EconumoBundle}/UI/Controller/Api/Category/Category/DeleteCategoryV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Category/Category/UnarchiveCategoryV1Controller.php (71%) rename src/{ => EconumoBundle}/UI/Controller/Api/Category/Category/UpdateCategoryV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Category/Category/Validation/ArchiveCategoryV1Form.php (90%) rename src/{ => EconumoBundle}/UI/Controller/Api/Category/Category/Validation/CreateCategoryV1Form.php (85%) rename src/{ => EconumoBundle}/UI/Controller/Api/Category/Category/Validation/DeleteCategoryV1Form.php (93%) rename src/{ => EconumoBundle}/UI/Controller/Api/Category/Category/Validation/UnarchiveCategoryV1Form.php (90%) rename src/{ => EconumoBundle}/UI/Controller/Api/Category/Category/Validation/UpdateCategoryV1Form.php (80%) rename src/{ => EconumoBundle}/UI/Controller/Api/Category/CategoryList/GetCategoryListV1Controller.php (75%) rename src/{ => EconumoBundle}/UI/Controller/Api/Category/CategoryList/OrderCategoryListV1Controller.php (71%) rename src/{ => EconumoBundle}/UI/Controller/Api/Category/CategoryList/Validation/GetCategoryListV1Form.php (85%) rename src/{ => EconumoBundle}/UI/Controller/Api/Category/CategoryList/Validation/OrderCategoryListV1Form.php (84%) rename src/{ => EconumoBundle}/UI/Controller/Api/Connection/AccountAccess/RevokeAccountAccessV1Controller.php (71%) rename src/{ => EconumoBundle}/UI/Controller/Api/Connection/AccountAccess/SetAccountAccessV1Controller.php (71%) rename src/{ => EconumoBundle}/UI/Controller/Api/Connection/AccountAccess/Validation/RevokeAccountAccessV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/Connection/AccountAccess/Validation/SetAccountAccessV1Form.php (83%) rename src/{ => EconumoBundle}/UI/Controller/Api/Connection/Connection/DeleteConnectionV1Controller.php (71%) rename src/{ => EconumoBundle}/UI/Controller/Api/Connection/Connection/Validation/DeleteConnectionV1Form.php (82%) rename src/{ => EconumoBundle}/UI/Controller/Api/Connection/ConnectionList/GetConnectionListV1Controller.php (75%) rename src/{ => EconumoBundle}/UI/Controller/Api/Connection/ConnectionList/Validation/GetConnectionListV1Form.php (84%) rename src/{ => EconumoBundle}/UI/Controller/Api/Connection/Invite/AcceptInviteV1Controller.php (71%) rename src/{ => EconumoBundle}/UI/Controller/Api/Connection/Invite/DeleteInviteV1Controller.php (71%) rename src/{ => EconumoBundle}/UI/Controller/Api/Connection/Invite/GenerateInviteV1Controller.php (71%) rename src/{ => EconumoBundle}/UI/Controller/Api/Connection/Invite/Validation/AcceptInviteV1Form.php (80%) rename src/{ => EconumoBundle}/UI/Controller/Api/Connection/Invite/Validation/DeleteInviteV1Form.php (86%) rename src/{ => EconumoBundle}/UI/Controller/Api/Connection/Invite/Validation/GenerateInviteV1Form.php (86%) rename src/{ => EconumoBundle}/UI/Controller/Api/Currency/CurrencyList/GetCurrencyListV1Controller.php (75%) rename src/{ => EconumoBundle}/UI/Controller/Api/Currency/CurrencyList/Validation/GetCurrencyListV1Form.php (85%) rename src/{ => EconumoBundle}/UI/Controller/Api/Currency/CurrencyRateList/GetCurrencyRateListV1Controller.php (75%) rename src/{ => EconumoBundle}/UI/Controller/Api/Currency/CurrencyRateList/Validation/GetCurrencyRateListV1Form.php (85%) rename src/{ => EconumoBundle}/UI/Controller/Api/Payee/Payee/ArchivePayeeV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Payee/Payee/CreatePayeeV1Controller.php (71%) rename src/{ => EconumoBundle}/UI/Controller/Api/Payee/Payee/DeletePayeeV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Payee/Payee/UnarchivePayeeV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Payee/Payee/UpdatePayeeV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Payee/Payee/Validation/ArchivePayeeV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/Payee/Payee/Validation/CreatePayeeV1Form.php (82%) rename src/{ => EconumoBundle}/UI/Controller/Api/Payee/Payee/Validation/DeletePayeeV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/Payee/Payee/Validation/UnarchivePayeeV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/Payee/Payee/Validation/UpdatePayeeV1Form.php (85%) rename src/{ => EconumoBundle}/UI/Controller/Api/Payee/PayeeList/GetPayeeListV1Controller.php (76%) rename src/{ => EconumoBundle}/UI/Controller/Api/Payee/PayeeList/OrderPayeeListV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Payee/PayeeList/Validation/GetPayeeListV1Form.php (86%) rename src/{ => EconumoBundle}/UI/Controller/Api/Payee/PayeeList/Validation/OrderPayeeListV1Form.php (84%) rename src/{ => EconumoBundle}/UI/Controller/Api/System/CurrencyList/ImportCurrencyListV1Controller.php (70%) rename src/{ => EconumoBundle}/UI/Controller/Api/System/CurrencyList/Validation/ImportCurrencyListV1Form.php (90%) rename src/{ => EconumoBundle}/UI/Controller/Api/System/CurrencyRates/ImportCurrencyRatesV1Controller.php (69%) rename src/{ => EconumoBundle}/UI/Controller/Api/System/CurrencyRates/Validation/ImportCurrencyRatesV1Form.php (84%) rename src/{ => EconumoBundle}/UI/Controller/Api/Tag/Tag/ArchiveTagV1Controller.php (73%) rename src/{ => EconumoBundle}/UI/Controller/Api/Tag/Tag/CreateTagV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Tag/Tag/DeleteTagV1Controller.php (73%) rename src/{ => EconumoBundle}/UI/Controller/Api/Tag/Tag/UnarchiveTagV1Controller.php (73%) rename src/{ => EconumoBundle}/UI/Controller/Api/Tag/Tag/UpdateTagV1Controller.php (73%) rename src/{ => EconumoBundle}/UI/Controller/Api/Tag/Tag/Validation/ArchiveTagV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/Tag/Tag/Validation/CreateTagV1Form.php (83%) rename src/{ => EconumoBundle}/UI/Controller/Api/Tag/Tag/Validation/DeleteTagV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/Tag/Tag/Validation/UnarchiveTagV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/Tag/Tag/Validation/UpdateTagV1Form.php (85%) rename src/{ => EconumoBundle}/UI/Controller/Api/Tag/TagList/GetTagListV1Controller.php (76%) rename src/{ => EconumoBundle}/UI/Controller/Api/Tag/TagList/OrderTagListV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/Tag/TagList/Validation/GetTagListV1Form.php (86%) rename src/{ => EconumoBundle}/UI/Controller/Api/Tag/TagList/Validation/OrderTagListV1Form.php (85%) rename src/{ => EconumoBundle}/UI/Controller/Api/Transaction/Transaction/CreateTransactionV1Controller.php (70%) rename src/{ => EconumoBundle}/UI/Controller/Api/Transaction/Transaction/DeleteTransactionV1Controller.php (71%) rename src/{ => EconumoBundle}/UI/Controller/Api/Transaction/Transaction/UpdateTransactionV1Controller.php (71%) rename src/{ => EconumoBundle}/UI/Controller/Api/Transaction/Transaction/Validation/CreateTransactionV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/Transaction/Transaction/Validation/DeleteTransactionV1Form.php (90%) rename src/{ => EconumoBundle}/UI/Controller/Api/Transaction/Transaction/Validation/UpdateTransactionV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/Transaction/TransactionList/GetTransactionListV1Controller.php (79%) rename src/{ => EconumoBundle}/UI/Controller/Api/Transaction/TransactionList/Validation/GetTransactionListV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/Budget/UpdateBudgetV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/Budget/Validation/UpdateBudgetV1Form.php (85%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/Currency/UpdateCurrencyV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/Currency/Validation/UpdateCurrencyV1Form.php (85%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/Name/UpdateNameV1Controller.php (73%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/Name/Validation/UpdateNameV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/OptionList/GetOptionListV1Controller.php (76%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/OptionList/Validation/GetOptionListV1Form.php (83%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/Password/RemindPasswordV1Controller.php (74%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/Password/ResetPasswordV1Controller.php (73%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/Password/UpdatePasswordV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/Password/Validation/RemindPasswordV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/Password/Validation/ResetPasswordV1Form.php (85%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/Password/Validation/UpdatePasswordV1Form.php (92%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/ReportPeriod/UpdateReportPeriodV1Controller.php (72%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/ReportPeriod/Validation/UpdateReportPeriodV1Form.php (81%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/User/LoginUserV1Controller.php (76%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/User/LogoutUserV1Controller.php (74%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/User/RegisterUserV1Controller.php (75%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/User/Validation/LoginUserV1Form.php (92%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/User/Validation/LogoutUserV1Form.php (91%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/User/Validation/RegisterUserV1Form.php (94%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/UserData/GetUserDataV1Controller.php (76%) rename src/{ => EconumoBundle}/UI/Controller/Api/User/UserData/Validation/GetUserDataV1Form.php (80%) rename src/{ => EconumoBundle}/UI/Controller/HealthCheckController.php (96%) rename src/{ => EconumoBundle}/UI/Controller/LoadTestingController.php (93%) rename src/{ => EconumoBundle}/UI/Middleware/AcceptUserLanguage/LocaleSubscriber.php (94%) rename src/{ => EconumoBundle}/UI/Middleware/HttpApiResponse/HttpApiExceptionListener.php (86%) rename src/{ => EconumoBundle}/UI/Middleware/ProtectSystemApi/ProtectSystemApiListener.php (90%) rename src/{ => EconumoBundle}/UI/Middleware/ProtectSystemApi/SystemApiInterface.php (53%) rename src/{ => EconumoBundle}/UI/Service/Dto/OperationDto.php (63%) rename src/{ => EconumoBundle}/UI/Service/OperationServiceInterface.php (55%) rename src/{ => EconumoBundle}/UI/Service/Response/ResponseFactory.php (97%) rename src/{ => EconumoBundle}/UI/Service/Validator/RequestFormValidationHelper.php (92%) rename src/{ => EconumoBundle}/UI/Service/Validator/Validator.php (72%) rename src/{ => EconumoBundle}/UI/Service/Validator/ValidatorInterface.php (72%) rename src/{ => EconumoBundle}/UI/Service/Validator/ValueObjectValidationFactoryInterface.php (62%) diff --git a/config/code-templates/Api/ControllerGET.php b/config/code-templates/Api/ControllerGET.php index 10ec06a0..251c1871 100644 --- a/config/code-templates/Api/ControllerGET.php +++ b/config/code-templates/Api/ControllerGET.php @@ -7,13 +7,13 @@ use _CG_APPROOT_\Application\_CG_MODULE_\_CG_SUBJECT_Service; use _CG_APPROOT_\Application\_CG_MODULE_\Dto\_CG_ACTION__CG_SUBJECT__CG_VERSION_RequestDto; use _CG_APPROOT_\UI\Controller\Api\_CG_MODULE_\_CG_SUBJECT_\Validation\_CG_ACTION__CG_SUBJECT__CG_VERSION_Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; diff --git a/config/code-templates/Api/ControllerPOST.php b/config/code-templates/Api/ControllerPOST.php index 8db43afe..9e9cd74b 100644 --- a/config/code-templates/Api/ControllerPOST.php +++ b/config/code-templates/Api/ControllerPOST.php @@ -7,13 +7,13 @@ use _CG_APPROOT_\Application\_CG_MODULE_\_CG_SUBJECT_Service; use _CG_APPROOT_\Application\_CG_MODULE_\Dto\_CG_ACTION__CG_SUBJECT__CG_VERSION_RequestDto; use _CG_APPROOT_\UI\Controller\Api\_CG_MODULE_\_CG_SUBJECT_\Validation\_CG_ACTION__CG_SUBJECT__CG_VERSION_Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; diff --git a/config/code-templates/Api/Form.php b/config/code-templates/Api/Form.php index b003f141..81a46fe8 100644 --- a/config/code-templates/Api/Form.php +++ b/config/code-templates/Api/Form.php @@ -4,7 +4,7 @@ namespace _CG_APPROOT_\UI\Controller\Api\_CG_MODULE_\_CG_SUBJECT_\Validation; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/config/code-templates/Api/Service.php b/config/code-templates/Api/Service.php index 9b7ff8f7..31f992b2 100644 --- a/config/code-templates/Api/Service.php +++ b/config/code-templates/Api/Service.php @@ -7,7 +7,7 @@ use _CG_APPROOT_\Application\_CG_MODULE_\Dto\_CG_ACTION__CG_SUBJECT__CG_VERSION_RequestDto; use _CG_APPROOT_\Application\_CG_MODULE_\Dto\_CG_ACTION__CG_SUBJECT__CG_VERSION_ResultDto; use _CG_APPROOT_\Application\_CG_MODULE_\Assembler\_CG_ACTION__CG_SUBJECT__CG_VERSION_ResultAssembler; -use App\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; readonly class _CG_SUBJECT_Service { diff --git a/config/packages/doctrine.yaml b/config/packages/doctrine.yaml index 153923e4..41baad44 100644 --- a/config/packages/doctrine.yaml +++ b/config/packages/doctrine.yaml @@ -11,25 +11,25 @@ doctrine: url: '%env(resolve:DATABASE_URL)%' charset: 'utf8' types: - uuid: App\Infrastructure\Doctrine\Type\UuidType - account_type: App\Infrastructure\Doctrine\Type\AccountType - account_name_type: App\Infrastructure\Doctrine\Type\AccountNameType - account_user_role_type: App\Infrastructure\Doctrine\Type\AccountUserRoleType - category_type: App\Infrastructure\Doctrine\Type\CategoryType - category_name_type: App\Infrastructure\Doctrine\Type\CategoryNameType - transaction_type: App\Infrastructure\Doctrine\Type\TransactionType - icon_type: App\Infrastructure\Doctrine\Type\IconType - folder_name_type: App\Infrastructure\Doctrine\Type\FolderNameType - connection_code_type: App\Infrastructure\Doctrine\Type\ConnectionCodeType - currency_code_type: App\Infrastructure\Doctrine\Type\CurrencyCodeType - payee_name_type: App\Infrastructure\Doctrine\Type\PayeeNameType - tag_name_type: App\Infrastructure\Doctrine\Type\TagNameType - user_role_type: App\Infrastructure\Doctrine\Type\UserRoleType - user_password_request_code_type: App\Infrastructure\Doctrine\Type\UserPasswordRequestCodeType - budget_name_type: App\Infrastructure\Doctrine\Type\BudgetNameType - budget_folder_name_type: App\Infrastructure\Doctrine\Type\BudgetFolderNameType - budget_envelope_name_type: App\Infrastructure\Doctrine\Type\BudgetEnvelopeNameType - budget_entity_type: App\Infrastructure\Doctrine\Type\BudgetEntityType + uuid: App\EconumoBundle\Infrastructure\Doctrine\Type\UuidType + account_type: App\EconumoBundle\Infrastructure\Doctrine\Type\AccountType + account_name_type: App\EconumoBundle\Infrastructure\Doctrine\Type\AccountNameType + account_user_role_type: App\EconumoBundle\Infrastructure\Doctrine\Type\AccountUserRoleType + category_type: App\EconumoBundle\Infrastructure\Doctrine\Type\CategoryType + category_name_type: App\EconumoBundle\Infrastructure\Doctrine\Type\CategoryNameType + transaction_type: App\EconumoBundle\Infrastructure\Doctrine\Type\TransactionType + icon_type: App\EconumoBundle\Infrastructure\Doctrine\Type\IconType + folder_name_type: App\EconumoBundle\Infrastructure\Doctrine\Type\FolderNameType + connection_code_type: App\EconumoBundle\Infrastructure\Doctrine\Type\ConnectionCodeType + currency_code_type: App\EconumoBundle\Infrastructure\Doctrine\Type\CurrencyCodeType + payee_name_type: App\EconumoBundle\Infrastructure\Doctrine\Type\PayeeNameType + tag_name_type: App\EconumoBundle\Infrastructure\Doctrine\Type\TagNameType + user_role_type: App\EconumoBundle\Infrastructure\Doctrine\Type\UserRoleType + user_password_request_code_type: App\EconumoBundle\Infrastructure\Doctrine\Type\UserPasswordRequestCodeType + budget_name_type: App\EconumoBundle\Infrastructure\Doctrine\Type\BudgetNameType + budget_folder_name_type: App\EconumoBundle\Infrastructure\Doctrine\Type\BudgetFolderNameType + budget_envelope_name_type: App\EconumoBundle\Infrastructure\Doctrine\Type\BudgetEnvelopeNameType + budget_entity_type: App\EconumoBundle\Infrastructure\Doctrine\Type\BudgetEntityType server_version: 13 orm: @@ -39,9 +39,9 @@ doctrine: mappings: Domain: type: xml - dir: '%kernel.project_dir%/src/Infrastructure/Doctrine/Entity/mapping' - prefix: 'App\Domain\Entity' + dir: '%kernel.project_dir%/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping' + prefix: 'App\EconumoBundle\Domain\Entity' Infrastructure: type: annotation - dir: '%kernel.project_dir%/src/Infrastructure/Doctrine/Entity' - prefix: 'App\Infrastructure\Doctrine\Entity' + dir: '%kernel.project_dir%/src/EconumoBundle/Infrastructure/Doctrine/Entity' + prefix: 'App\EconumoBundle\Infrastructure\Doctrine\Entity' diff --git a/config/packages/doctrine_migrations.yaml b/config/packages/doctrine_migrations.yaml index fcbdec73..aac13e3e 100644 --- a/config/packages/doctrine_migrations.yaml +++ b/config/packages/doctrine_migrations.yaml @@ -1,7 +1,7 @@ --- doctrine_migrations: - dir_name: '%kernel.project_dir%/src/Infrastructure/Doctrine/Migration' + dir_name: '%kernel.project_dir%/src/EconumoBundle/Infrastructure/Doctrine/Migration' # namespace is arbitrary but should be different from App\Migrations # as migrations classes should NOT be autoloaded - namespace: App\Infrastructure\Doctrine\Migration + namespace: App\EconumoBundle\Infrastructure\Doctrine\Migration #organize_migrations: BY_YEAR diff --git a/config/packages/messenger.yaml b/config/packages/messenger.yaml index fe5d03f4..836f3345 100644 --- a/config/packages/messenger.yaml +++ b/config/packages/messenger.yaml @@ -19,10 +19,10 @@ framework: max_retries: 1 routing: - 'App\Domain\Events\AccountFolderCreatedEvent': domain_events - 'App\Domain\Events\BudgetFolderCreatedEvent': domain_events - 'App\Domain\Events\RemindPasswordRequestedEvent': domain_events - 'App\Domain\Events\UserRegisteredEvent': domain_events - 'App\Domain\Events\BudgetEnvelopeCreatedEvent': domain_events - 'App\Domain\Events\CategoryCreatedEvent': domain_events - 'App\Domain\Events\TagCreatedEvent': domain_events + 'App\EconumoBundle\Domain\Events\AccountFolderCreatedEvent': domain_events + 'App\EconumoBundle\Domain\Events\BudgetFolderCreatedEvent': domain_events + 'App\EconumoBundle\Domain\Events\RemindPasswordRequestedEvent': domain_events + 'App\EconumoBundle\Domain\Events\UserRegisteredEvent': domain_events + 'App\EconumoBundle\Domain\Events\BudgetEnvelopeCreatedEvent': domain_events + 'App\EconumoBundle\Domain\Events\CategoryCreatedEvent': domain_events + 'App\EconumoBundle\Domain\Events\TagCreatedEvent': domain_events diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 086c0a9a..fe7b38da 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -1,6 +1,6 @@ security: password_hashers: - App\Domain\Entity\User: + App\EconumoBundle\Domain\Entity\User: algorithm: sha512 encode_as_base64: true iterations: 500 @@ -17,7 +17,7 @@ security: json_login: check_path: /api/v1/user/login-user success_handler: lexik_jwt_authentication.handler.authentication_success - failure_handler: App\Infrastructure\Auth\AuthenticationFailureHandler + failure_handler: App\EconumoBundle\Infrastructure\Auth\AuthenticationFailureHandler api_register: pattern: ^/api/v1/user/register-user @@ -64,4 +64,4 @@ security: providers: app_user_provider: - id: App\Infrastructure\Doctrine\UserProvider + id: App\EconumoBundle\Infrastructure\Doctrine\UserProvider diff --git a/config/routes/annotations.yaml b/config/routes/annotations.yaml index a4e16e66..fb354f68 100644 --- a/config/routes/annotations.yaml +++ b/config/routes/annotations.yaml @@ -1,4 +1,4 @@ --- controllers: - resource: ../../src/UI/Controller/ + resource: ../../src/EconumoBundle/UI/Controller/ type: annotation diff --git a/config/services.yaml b/config/services.yaml index 73cd2545..ff82012e 100644 --- a/config/services.yaml +++ b/config/services.yaml @@ -16,34 +16,35 @@ services: App\: resource: '../src/*' exclude: - - '../src/Infrastructure/Symfony/Form/ValueObjectValidator.php' - - '../src/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}' - - '../src/Infrastructure/Doctrine/Migrations/**.php' + - '../src/Kernel.php' + - '../src/EconumoBundle/Infrastructure/Symfony/Form/ValueObjectValidator.php' + - '../src/EconumoBundle/{DependencyInjection,Entity,Migrations,Tests,Kernel.php}' + - '../src/EconumoBundle/Infrastructure/Doctrine/Migrations/**.php' - App\Domain\Service\Currency\CurrencyServiceInterface: - class: \App\Domain\Service\Currency\CurrencyService + App\EconumoBundle\Domain\Service\Currency\CurrencyServiceInterface: + class: \App\EconumoBundle\Domain\Service\Currency\CurrencyService arguments: $baseCurrency: '%env(string:ECONUMO_CURRENCY_BASE)%' - App\Domain\Service\Currency\CurrencyConvertorInterface: - class: \App\Domain\Service\Currency\CurrencyConvertor + App\EconumoBundle\Domain\Service\Currency\CurrencyConvertorInterface: + class: \App\EconumoBundle\Domain\Service\Currency\CurrencyConvertor arguments: $baseCurrency: '%env(string:ECONUMO_CURRENCY_BASE)%' - App\Domain\Service\Currency\CurrencyRateServiceInterface: - class: \App\Domain\Service\Currency\CurrencyRateService + App\EconumoBundle\Domain\Service\Currency\CurrencyRateServiceInterface: + class: \App\EconumoBundle\Domain\Service\Currency\CurrencyRateService arguments: $baseCurrency: '%env(string:ECONUMO_CURRENCY_BASE)%' # controllers are imported separately to make sure services can be injected # as action arguments even if you don't extend any base controller class - App\UI\Controller\: - resource: '../src/UI/Controller' + App\EconumoBundle\UI\Controller\: + resource: '../src/EconumoBundle/UI/Controller' tags: ['controller.service_arguments'] # add more service definitions when explicit configuration is needed # please note that last definitions always *replace* previous ones - App\UI\Middleware\HttpApiResponse\HttpApiExceptionListener: + App\EconumoBundle\UI\Middleware\HttpApiResponse\HttpApiExceptionListener: tags: - {name: kernel.event_listener, event: kernel.exception} @@ -52,30 +53,30 @@ services: tags: - { name: kernel.event_listener, event: kernel.request, method: onKernelRequest, priority: 100 } - App\Domain\Service\User\UserRegistrationServiceInterface: - class: App\Domain\Service\User\UserRegistrationService + App\EconumoBundle\Domain\Service\User\UserRegistrationServiceInterface: + class: App\EconumoBundle\Domain\Service\User\UserRegistrationService arguments: $isRegistrationAllowed: '%env(bool:ECONUMO_ALLOW_REGISTRATION)%' - App\Domain\Service\EmailServiceInterface: - class: App\Infrastructure\Symfony\Mailer\EmailService + App\EconumoBundle\Domain\Service\EmailServiceInterface: + class: App\EconumoBundle\Infrastructure\Symfony\Mailer\EmailService arguments: $fromEmail: '%env(string:ECONUMO_FROM_EMAIL)%' $replyToEmail: '%env(string:ECONUMO_REPLY_TO_EMAIL)%' - App\Infrastructure\Auth\AuthenticationUpdateTokenPayload: + App\EconumoBundle\Infrastructure\Auth\AuthenticationUpdateTokenPayload: arguments: $baseCurrency: '%env(string:ECONUMO_CURRENCY_BASE)%' tags: - { name: kernel.event_listener, event: lexik_jwt_authentication.on_jwt_created, method: onTokenCreated } - App\Infrastructure\Auth\AuthenticationSuccessListener: - class: App\Infrastructure\Auth\AuthenticationSuccessListener + App\EconumoBundle\Infrastructure\Auth\AuthenticationSuccessListener: + class: App\EconumoBundle\Infrastructure\Auth\AuthenticationSuccessListener tags: - { name: kernel.event_listener, event: lexik_jwt_authentication.on_authentication_success, method: onAuthenticationSuccessResponse } - App\UI\Middleware\ProtectSystemApi\ProtectSystemApiListener: - class: App\UI\Middleware\ProtectSystemApi\ProtectSystemApiListener + App\EconumoBundle\UI\Middleware\ProtectSystemApi\ProtectSystemApiListener: + class: App\EconumoBundle\UI\Middleware\ProtectSystemApi\ProtectSystemApiListener arguments: $token: '%env(ECONUMO_SYSTEM_API_KEY)%' tags: diff --git a/src/Application/Budget/Assembler/CreateBudgetV1ResultAssembler.php b/src/Application/Budget/Assembler/CreateBudgetV1ResultAssembler.php deleted file mode 100644 index 2cb3c9a4..00000000 --- a/src/Application/Budget/Assembler/CreateBudgetV1ResultAssembler.php +++ /dev/null @@ -1,24 +0,0 @@ -item = $this->budgetMetaDtoToResultDtoAssembler->assemble($budgetDto); - return $result; - } -} diff --git a/src/Application/Payee/Assembler/UpdatePayeeV1ResultAssembler.php b/src/Application/Payee/Assembler/UpdatePayeeV1ResultAssembler.php deleted file mode 100644 index b9d728b7..00000000 --- a/src/Application/Payee/Assembler/UpdatePayeeV1ResultAssembler.php +++ /dev/null @@ -1,18 +0,0 @@ -type = $dto->type->getValue(); $result->name = $dto->name->getValue(); $result->icon = $dto->icon->getValue(); - $result->currencyId = $dto->currencyId?->getValue(); + $result->currencyId = $dto->currencyId->getValue(); $result->isArchived = $dto->isArchived ? 1 : 0; $result->folderId = $dto->folderId?->getValue(); $result->position = $dto->position; - $result->budget = $dto->budgeted; + $result->budgeted = $dto->budgeted; $result->available = $dto->available; $result->spent = $dto->spent; diff --git a/src/Application/Budget/Assembler/BudgetStructureToResultDtoAssembler.php b/src/EconumoBundle/Application/Budget/Assembler/BudgetStructureToResultDtoAssembler.php similarity index 69% rename from src/Application/Budget/Assembler/BudgetStructureToResultDtoAssembler.php rename to src/EconumoBundle/Application/Budget/Assembler/BudgetStructureToResultDtoAssembler.php index 6cfabc17..1f64e3a8 100644 --- a/src/Application/Budget/Assembler/BudgetStructureToResultDtoAssembler.php +++ b/src/EconumoBundle/Application/Budget/Assembler/BudgetStructureToResultDtoAssembler.php @@ -3,10 +3,12 @@ declare(strict_types=1); -namespace App\Application\Budget\Assembler; +namespace App\EconumoBundle\Application\Budget\Assembler; -use App\Application\Budget\Dto\BudgetStructureResultDto; -use App\Domain\Service\Budget\Dto\BudgetStructureDto; +use App\EconumoBundle\Application\Budget\Assembler\BudgetFolderToResultDtoAssembler; +use App\EconumoBundle\Application\Budget\Dto\BudgetStructureResultDto; +use App\EconumoBundle\Application\Budget\Assembler\BudgetParentElementToResultDtoAssembler; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetStructureDto; readonly class BudgetStructureToResultDtoAssembler { diff --git a/src/EconumoBundle/Application/Budget/Assembler/CreateBudgetV1ResultAssembler.php b/src/EconumoBundle/Application/Budget/Assembler/CreateBudgetV1ResultAssembler.php new file mode 100644 index 00000000..e70b2a12 --- /dev/null +++ b/src/EconumoBundle/Application/Budget/Assembler/CreateBudgetV1ResultAssembler.php @@ -0,0 +1,25 @@ +item = $this->budgetDtoToResultDtoAssembler->assemble($budgetDto); + return $result; + } +} diff --git a/src/Application/Budget/Assembler/DeleteBudgetV1ResultAssembler.php b/src/EconumoBundle/Application/Budget/Assembler/DeleteBudgetV1ResultAssembler.php similarity index 50% rename from src/Application/Budget/Assembler/DeleteBudgetV1ResultAssembler.php rename to src/EconumoBundle/Application/Budget/Assembler/DeleteBudgetV1ResultAssembler.php index 292b91d6..20e14f32 100644 --- a/src/Application/Budget/Assembler/DeleteBudgetV1ResultAssembler.php +++ b/src/EconumoBundle/Application/Budget/Assembler/DeleteBudgetV1ResultAssembler.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace App\Application\Budget\Assembler; +namespace App\EconumoBundle\Application\Budget\Assembler; -use App\Application\Budget\Dto\DeleteBudgetV1RequestDto; -use App\Application\Budget\Dto\DeleteBudgetV1ResultDto; +use App\EconumoBundle\Application\Budget\Dto\DeleteBudgetV1RequestDto; +use App\EconumoBundle\Application\Budget\Dto\DeleteBudgetV1ResultDto; readonly class DeleteBudgetV1ResultAssembler { diff --git a/src/Application/Budget/Assembler/ExcludeAccountV1ResultAssembler.php b/src/EconumoBundle/Application/Budget/Assembler/ExcludeAccountV1ResultAssembler.php similarity index 63% rename from src/Application/Budget/Assembler/ExcludeAccountV1ResultAssembler.php rename to src/EconumoBundle/Application/Budget/Assembler/ExcludeAccountV1ResultAssembler.php index 8f7546bb..7e379dd9 100644 --- a/src/Application/Budget/Assembler/ExcludeAccountV1ResultAssembler.php +++ b/src/EconumoBundle/Application/Budget/Assembler/ExcludeAccountV1ResultAssembler.php @@ -2,10 +2,11 @@ declare(strict_types=1); -namespace App\Application\Budget\Assembler; +namespace App\EconumoBundle\Application\Budget\Assembler; -use App\Application\Budget\Dto\ExcludeAccountV1ResultDto; -use App\Domain\Service\Budget\Dto\BudgetMetaDto; +use App\EconumoBundle\Application\Budget\Dto\ExcludeAccountV1ResultDto; +use App\EconumoBundle\Application\Budget\Assembler\BudgetMetaToResultDtoAssembler; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetMetaDto; readonly class ExcludeAccountV1ResultAssembler { diff --git a/src/Application/Budget/Assembler/GetBudgetListV1ResultAssembler.php b/src/EconumoBundle/Application/Budget/Assembler/GetBudgetListV1ResultAssembler.php similarity index 70% rename from src/Application/Budget/Assembler/GetBudgetListV1ResultAssembler.php rename to src/EconumoBundle/Application/Budget/Assembler/GetBudgetListV1ResultAssembler.php index 25a43321..ba9f53c4 100644 --- a/src/Application/Budget/Assembler/GetBudgetListV1ResultAssembler.php +++ b/src/EconumoBundle/Application/Budget/Assembler/GetBudgetListV1ResultAssembler.php @@ -2,10 +2,11 @@ declare(strict_types=1); -namespace App\Application\Budget\Assembler; +namespace App\EconumoBundle\Application\Budget\Assembler; -use App\Application\Budget\Dto\GetBudgetListV1ResultDto; -use App\Domain\Service\Budget\Dto\BudgetMetaDto; +use App\EconumoBundle\Application\Budget\Dto\GetBudgetListV1ResultDto; +use App\EconumoBundle\Application\Budget\Assembler\BudgetMetaToResultDtoAssembler; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetMetaDto; readonly class GetBudgetListV1ResultAssembler { diff --git a/src/Application/Budget/Assembler/GetBudgetV1ResultAssembler.php b/src/EconumoBundle/Application/Budget/Assembler/GetBudgetV1ResultAssembler.php similarity index 62% rename from src/Application/Budget/Assembler/GetBudgetV1ResultAssembler.php rename to src/EconumoBundle/Application/Budget/Assembler/GetBudgetV1ResultAssembler.php index 882613e5..0ea8ff9d 100644 --- a/src/Application/Budget/Assembler/GetBudgetV1ResultAssembler.php +++ b/src/EconumoBundle/Application/Budget/Assembler/GetBudgetV1ResultAssembler.php @@ -2,10 +2,11 @@ declare(strict_types=1); -namespace App\Application\Budget\Assembler; +namespace App\EconumoBundle\Application\Budget\Assembler; -use App\Application\Budget\Dto\GetBudgetV1ResultDto; -use App\Domain\Service\Budget\Dto\BudgetDto; +use App\EconumoBundle\Application\Budget\Assembler\BudgetDtoToResultDtoAssembler; +use App\EconumoBundle\Application\Budget\Dto\GetBudgetV1ResultDto; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetDto; readonly class GetBudgetV1ResultAssembler { diff --git a/src/Application/Budget/Assembler/IncludeAccountV1ResultAssembler.php b/src/EconumoBundle/Application/Budget/Assembler/IncludeAccountV1ResultAssembler.php similarity index 63% rename from src/Application/Budget/Assembler/IncludeAccountV1ResultAssembler.php rename to src/EconumoBundle/Application/Budget/Assembler/IncludeAccountV1ResultAssembler.php index 6fe205b7..bc8ed2c7 100644 --- a/src/Application/Budget/Assembler/IncludeAccountV1ResultAssembler.php +++ b/src/EconumoBundle/Application/Budget/Assembler/IncludeAccountV1ResultAssembler.php @@ -2,10 +2,11 @@ declare(strict_types=1); -namespace App\Application\Budget\Assembler; +namespace App\EconumoBundle\Application\Budget\Assembler; -use App\Application\Budget\Dto\IncludeAccountV1ResultDto; -use App\Domain\Service\Budget\Dto\BudgetMetaDto; +use App\EconumoBundle\Application\Budget\Dto\IncludeAccountV1ResultDto; +use App\EconumoBundle\Application\Budget\Assembler\BudgetMetaToResultDtoAssembler; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetMetaDto; readonly class IncludeAccountV1ResultAssembler { diff --git a/src/Application/Budget/Assembler/ResetBudgetV1ResultAssembler.php b/src/EconumoBundle/Application/Budget/Assembler/ResetBudgetV1ResultAssembler.php similarity index 63% rename from src/Application/Budget/Assembler/ResetBudgetV1ResultAssembler.php rename to src/EconumoBundle/Application/Budget/Assembler/ResetBudgetV1ResultAssembler.php index df3ed554..f80bbab0 100644 --- a/src/Application/Budget/Assembler/ResetBudgetV1ResultAssembler.php +++ b/src/EconumoBundle/Application/Budget/Assembler/ResetBudgetV1ResultAssembler.php @@ -2,10 +2,11 @@ declare(strict_types=1); -namespace App\Application\Budget\Assembler; +namespace App\EconumoBundle\Application\Budget\Assembler; -use App\Application\Budget\Dto\ResetBudgetV1ResultDto; -use App\Domain\Service\Budget\Dto\BudgetMetaDto; +use App\EconumoBundle\Application\Budget\Dto\ResetBudgetV1ResultDto; +use App\EconumoBundle\Application\Budget\Assembler\BudgetMetaToResultDtoAssembler; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetMetaDto; readonly class ResetBudgetV1ResultAssembler { diff --git a/src/Application/Budget/Assembler/UpdateBudgetV1ResultAssembler.php b/src/EconumoBundle/Application/Budget/Assembler/UpdateBudgetV1ResultAssembler.php similarity index 63% rename from src/Application/Budget/Assembler/UpdateBudgetV1ResultAssembler.php rename to src/EconumoBundle/Application/Budget/Assembler/UpdateBudgetV1ResultAssembler.php index 56d0e4df..eec523a4 100644 --- a/src/Application/Budget/Assembler/UpdateBudgetV1ResultAssembler.php +++ b/src/EconumoBundle/Application/Budget/Assembler/UpdateBudgetV1ResultAssembler.php @@ -2,10 +2,11 @@ declare(strict_types=1); -namespace App\Application\Budget\Assembler; +namespace App\EconumoBundle\Application\Budget\Assembler; -use App\Application\Budget\Dto\UpdateBudgetV1ResultDto; -use App\Domain\Service\Budget\Dto\BudgetMetaDto; +use App\EconumoBundle\Application\Budget\Dto\UpdateBudgetV1ResultDto; +use App\EconumoBundle\Application\Budget\Assembler\BudgetMetaToResultDtoAssembler; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetMetaDto; readonly class UpdateBudgetV1ResultAssembler { diff --git a/src/Application/Budget/BudgetListService.php b/src/EconumoBundle/Application/Budget/BudgetListService.php similarity index 57% rename from src/Application/Budget/BudgetListService.php rename to src/EconumoBundle/Application/Budget/BudgetListService.php index 0432297b..bc7ffb10 100644 --- a/src/Application/Budget/BudgetListService.php +++ b/src/EconumoBundle/Application/Budget/BudgetListService.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace App\Application\Budget; +namespace App\EconumoBundle\Application\Budget; -use App\Application\Budget\Dto\GetBudgetListV1RequestDto; -use App\Application\Budget\Dto\GetBudgetListV1ResultDto; -use App\Application\Budget\Assembler\GetBudgetListV1ResultAssembler; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Service\Budget\BudgetServiceInterface; +use App\EconumoBundle\Application\Budget\Dto\GetBudgetListV1RequestDto; +use App\EconumoBundle\Application\Budget\Dto\GetBudgetListV1ResultDto; +use App\EconumoBundle\Application\Budget\Assembler\GetBudgetListV1ResultAssembler; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Service\Budget\BudgetServiceInterface; readonly class BudgetListService { diff --git a/src/Application/Budget/BudgetService.php b/src/EconumoBundle/Application/Budget/BudgetService.php similarity index 62% rename from src/Application/Budget/BudgetService.php rename to src/EconumoBundle/Application/Budget/BudgetService.php index 715d0c99..84f09c10 100644 --- a/src/Application/Budget/BudgetService.php +++ b/src/EconumoBundle/Application/Budget/BudgetService.php @@ -2,29 +2,29 @@ declare(strict_types=1); -namespace App\Application\Budget; +namespace App\EconumoBundle\Application\Budget; -use App\Application\Budget\Dto\CreateBudgetV1RequestDto; -use App\Application\Budget\Dto\CreateBudgetV1ResultDto; -use App\Application\Budget\Assembler\CreateBudgetV1ResultAssembler; -use App\Application\Exception\AccessDeniedException; -use App\Domain\Entity\ValueObject\BudgetName; -use App\Application\Budget\Dto\DeleteBudgetV1RequestDto; -use App\Application\Budget\Dto\DeleteBudgetV1ResultDto; -use App\Application\Budget\Assembler\DeleteBudgetV1ResultAssembler; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Service\Budget\BudgetAccessServiceInterface; -use App\Domain\Service\Budget\BudgetServiceInterface; -use App\Application\Budget\Dto\UpdateBudgetV1RequestDto; -use App\Application\Budget\Dto\UpdateBudgetV1ResultDto; -use App\Application\Budget\Assembler\UpdateBudgetV1ResultAssembler; -use App\Application\Budget\Dto\ResetBudgetV1RequestDto; -use App\Application\Budget\Dto\ResetBudgetV1ResultDto; -use App\Application\Budget\Assembler\ResetBudgetV1ResultAssembler; +use App\EconumoBundle\Application\Budget\Dto\CreateBudgetV1RequestDto; +use App\EconumoBundle\Application\Budget\Dto\CreateBudgetV1ResultDto; +use App\EconumoBundle\Application\Budget\Assembler\CreateBudgetV1ResultAssembler; +use App\EconumoBundle\Application\Exception\AccessDeniedException; +use App\EconumoBundle\Domain\Entity\ValueObject\BudgetName; +use App\EconumoBundle\Application\Budget\Dto\DeleteBudgetV1RequestDto; +use App\EconumoBundle\Application\Budget\Dto\DeleteBudgetV1ResultDto; +use App\EconumoBundle\Application\Budget\Assembler\DeleteBudgetV1ResultAssembler; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Service\Budget\BudgetAccessServiceInterface; +use App\EconumoBundle\Domain\Service\Budget\BudgetServiceInterface; +use App\EconumoBundle\Application\Budget\Dto\UpdateBudgetV1RequestDto; +use App\EconumoBundle\Application\Budget\Dto\UpdateBudgetV1ResultDto; +use App\EconumoBundle\Application\Budget\Assembler\UpdateBudgetV1ResultAssembler; +use App\EconumoBundle\Application\Budget\Dto\ResetBudgetV1RequestDto; +use App\EconumoBundle\Application\Budget\Dto\ResetBudgetV1ResultDto; +use App\EconumoBundle\Application\Budget\Assembler\ResetBudgetV1ResultAssembler; use DateTimeImmutable; -use App\Application\Budget\Dto\GetBudgetV1RequestDto; -use App\Application\Budget\Dto\GetBudgetV1ResultDto; -use App\Application\Budget\Assembler\GetBudgetV1ResultAssembler; +use App\EconumoBundle\Application\Budget\Dto\GetBudgetV1RequestDto; +use App\EconumoBundle\Application\Budget\Dto\GetBudgetV1ResultDto; +use App\EconumoBundle\Application\Budget\Assembler\GetBudgetV1ResultAssembler; readonly class BudgetService { @@ -43,14 +43,16 @@ public function createBudget( CreateBudgetV1RequestDto $dto, Id $userId ): CreateBudgetV1ResultDto { - $id = new Id($dto->id); + $budgetId = new Id($dto->id); $name = new BudgetName($dto->name); + $startDate = $dto->startDate === '' ? null : DateTimeImmutable::createFromFormat('Y-m-d', $dto->startDate); + $currencyId = $dto->currencyId === '' ? null : new Id($dto->currencyId); $excludedAccountsIds = array_map( fn(string $id) => new Id($id), $dto->excludedAccounts ); - $budgetDto = $this->budgetService->createBudget($userId, $id, $name, $excludedAccountsIds); - return $this->createBudgetV1ResultAssembler->assemble($budgetDto); + $budget = $this->budgetService->createBudget($userId, $budgetId, $name, $startDate, $currencyId, $excludedAccountsIds); + return $this->createBudgetV1ResultAssembler->assemble($budget); } public function deleteBudget( diff --git a/src/Application/Budget/Dto/BudgeFiltersResultDto.php b/src/EconumoBundle/Application/Budget/Dto/BudgeFiltersResultDto.php similarity index 90% rename from src/Application/Budget/Dto/BudgeFiltersResultDto.php rename to src/EconumoBundle/Application/Budget/Dto/BudgeFiltersResultDto.php index 1dc681b0..70806bbc 100644 --- a/src/Application/Budget/Dto/BudgeFiltersResultDto.php +++ b/src/EconumoBundle/Application/Budget/Dto/BudgeFiltersResultDto.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Application\Budget\Dto; +namespace App\EconumoBundle\Application\Budget\Dto; use OpenApi\Annotations as OA; diff --git a/src/Application/Budget/Dto/BudgetCurrencyAmountDto.php b/src/EconumoBundle/Application/Budget/Dto/BudgetCurrencyAmountDto.php similarity index 87% rename from src/Application/Budget/Dto/BudgetCurrencyAmountDto.php rename to src/EconumoBundle/Application/Budget/Dto/BudgetCurrencyAmountDto.php index 75653d45..7f1bad2e 100644 --- a/src/Application/Budget/Dto/BudgetCurrencyAmountDto.php +++ b/src/EconumoBundle/Application/Budget/Dto/BudgetCurrencyAmountDto.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Application\Budget\Dto; +namespace App\EconumoBundle\Application\Budget\Dto; use OpenApi\Annotations as OA; diff --git a/src/Application/Budget/Dto/BudgetCurrencyBalanceResultDto.php b/src/EconumoBundle/Application/Budget/Dto/BudgetCurrencyBalanceResultDto.php similarity index 94% rename from src/Application/Budget/Dto/BudgetCurrencyBalanceResultDto.php rename to src/EconumoBundle/Application/Budget/Dto/BudgetCurrencyBalanceResultDto.php index a4923dd4..c368e257 100644 --- a/src/Application/Budget/Dto/BudgetCurrencyBalanceResultDto.php +++ b/src/EconumoBundle/Application/Budget/Dto/BudgetCurrencyBalanceResultDto.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Application\Budget\Dto; +namespace App\EconumoBundle\Application\Budget\Dto; use OpenApi\Annotations as OA; diff --git a/src/Application/Budget/Dto/BudgetFolderResultDto.php b/src/EconumoBundle/Application/Budget/Dto/BudgetFolderResultDto.php similarity index 89% rename from src/Application/Budget/Dto/BudgetFolderResultDto.php rename to src/EconumoBundle/Application/Budget/Dto/BudgetFolderResultDto.php index 53212f99..7736793c 100644 --- a/src/Application/Budget/Dto/BudgetFolderResultDto.php +++ b/src/EconumoBundle/Application/Budget/Dto/BudgetFolderResultDto.php @@ -1,7 +1,7 @@ accountRepository->getReference($excludedAccountId); $accounts[] = $account; } - $user = $this->userRepository->get($userId); - $currency = $this->currencyRepository->getByCode($user->getCurrency()); + $currency = $this->currencyRepository->getReference($currencyId); return new Budget( $this->userRepository->getReference($userId), $id, $name, $currency, $accounts, - $startedAt, + $startDate, $this->datetimeService->getCurrentDatetime() ); } diff --git a/src/Domain/Factory/BudgetFactoryInterface.php b/src/EconumoBundle/Domain/Factory/BudgetFactoryInterface.php similarity index 53% rename from src/Domain/Factory/BudgetFactoryInterface.php rename to src/EconumoBundle/Domain/Factory/BudgetFactoryInterface.php index 2ddcfeb6..6cd644a7 100644 --- a/src/Domain/Factory/BudgetFactoryInterface.php +++ b/src/EconumoBundle/Domain/Factory/BudgetFactoryInterface.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace App\Domain\Factory; +namespace App\EconumoBundle\Domain\Factory; -use App\Domain\Entity\Budget; -use App\Domain\Entity\ValueObject\BudgetName; -use App\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Entity\Budget; +use App\EconumoBundle\Domain\Entity\ValueObject\BudgetName; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; use DateTimeInterface; interface BudgetFactoryInterface @@ -15,15 +15,17 @@ interface BudgetFactoryInterface * @param Id $userId * @param Id $id * @param BudgetName $name + * @param DateTimeInterface $startDate + * @param Id $currencyId * @param Id[] $excludedAccountsIds - * @param DateTimeInterface $startedAt * @return Budget */ public function create( Id $userId, Id $id, BudgetName $name, + DateTimeInterface $startDate, + Id $currencyId, array $excludedAccountsIds, - DateTimeInterface $startedAt ): Budget; } diff --git a/src/Domain/Factory/CategoryFactory.php b/src/EconumoBundle/Domain/Factory/CategoryFactory.php similarity index 55% rename from src/Domain/Factory/CategoryFactory.php rename to src/EconumoBundle/Domain/Factory/CategoryFactory.php index 165497b0..852ef891 100644 --- a/src/Domain/Factory/CategoryFactory.php +++ b/src/EconumoBundle/Domain/Factory/CategoryFactory.php @@ -2,16 +2,17 @@ declare(strict_types=1); -namespace App\Domain\Factory; +namespace App\EconumoBundle\Domain\Factory; -use App\Domain\Entity\Category; -use App\Domain\Entity\ValueObject\CategoryName; -use App\Domain\Entity\ValueObject\CategoryType; -use App\Domain\Entity\ValueObject\Icon; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Repository\CategoryRepositoryInterface; -use App\Domain\Repository\UserRepositoryInterface; -use App\Domain\Service\DatetimeServiceInterface; +use App\EconumoBundle\Domain\Entity\Category; +use App\EconumoBundle\Domain\Entity\ValueObject\CategoryName; +use App\EconumoBundle\Domain\Entity\ValueObject\CategoryType; +use App\EconumoBundle\Domain\Entity\ValueObject\Icon; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Repository\CategoryRepositoryInterface; +use App\EconumoBundle\Domain\Factory\CategoryFactoryInterface; +use App\EconumoBundle\Domain\Repository\UserRepositoryInterface; +use App\EconumoBundle\Domain\Service\DatetimeServiceInterface; class CategoryFactory implements CategoryFactoryInterface { diff --git a/src/EconumoBundle/Domain/Factory/CategoryFactoryInterface.php b/src/EconumoBundle/Domain/Factory/CategoryFactoryInterface.php new file mode 100644 index 00000000..a8791f47 --- /dev/null +++ b/src/EconumoBundle/Domain/Factory/CategoryFactoryInterface.php @@ -0,0 +1,15 @@ +getCurrencyId()->isEqual($element['currencyId']) ? null : $element['currencyId']), + $element['currencyId'], $element['isArchived'], $element['folderId'], $element['position'], diff --git a/src/Domain/Service/Budget/Assembler/BudgetStructureFolderDtoAssembler.php b/src/EconumoBundle/Domain/Service/Budget/Assembler/BudgetStructureFolderDtoAssembler.php similarity index 64% rename from src/Domain/Service/Budget/Assembler/BudgetStructureFolderDtoAssembler.php rename to src/EconumoBundle/Domain/Service/Budget/Assembler/BudgetStructureFolderDtoAssembler.php index 4dd7d830..e3340a24 100644 --- a/src/Domain/Service/Budget/Assembler/BudgetStructureFolderDtoAssembler.php +++ b/src/EconumoBundle/Domain/Service/Budget/Assembler/BudgetStructureFolderDtoAssembler.php @@ -3,11 +3,11 @@ declare(strict_types=1); -namespace App\Domain\Service\Budget\Assembler; +namespace App\EconumoBundle\Domain\Service\Budget\Assembler; -use App\Domain\Entity\BudgetFolder; -use App\Domain\Service\Budget\Dto\BudgetStructureFolderDto; +use App\EconumoBundle\Domain\Entity\BudgetFolder; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetStructureFolderDto; readonly class BudgetStructureFolderDtoAssembler { diff --git a/src/Domain/Service/Budget/Assembler/CurrencyBalanceDtoAssembler.php b/src/EconumoBundle/Domain/Service/Budget/Assembler/CurrencyBalanceDtoAssembler.php similarity index 88% rename from src/Domain/Service/Budget/Assembler/CurrencyBalanceDtoAssembler.php rename to src/EconumoBundle/Domain/Service/Budget/Assembler/CurrencyBalanceDtoAssembler.php index c92844c0..e55ba700 100644 --- a/src/Domain/Service/Budget/Assembler/CurrencyBalanceDtoAssembler.php +++ b/src/EconumoBundle/Domain/Service/Budget/Assembler/CurrencyBalanceDtoAssembler.php @@ -3,14 +3,14 @@ declare(strict_types=1); -namespace App\Domain\Service\Budget\Assembler; +namespace App\EconumoBundle\Domain\Service\Budget\Assembler; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Repository\AccountRepositoryInterface; -use App\Domain\Service\Budget\Dto\BudgetFiltersDto; -use App\Domain\Service\Budget\Dto\CurrencyBalanceDto; -use App\Domain\Service\DatetimeServiceInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Repository\AccountRepositoryInterface; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetFiltersDto; +use App\EconumoBundle\Domain\Service\Budget\Dto\CurrencyBalanceDto; +use App\EconumoBundle\Domain\Service\DatetimeServiceInterface; use DateTimeInterface; readonly class CurrencyBalanceDtoAssembler diff --git a/src/Domain/Service/Budget/BudgetAccessService.php b/src/EconumoBundle/Domain/Service/Budget/BudgetAccessService.php similarity index 85% rename from src/Domain/Service/Budget/BudgetAccessService.php rename to src/EconumoBundle/Domain/Service/Budget/BudgetAccessService.php index c99136af..7542f9b9 100644 --- a/src/Domain/Service/Budget/BudgetAccessService.php +++ b/src/EconumoBundle/Domain/Service/Budget/BudgetAccessService.php @@ -3,13 +3,14 @@ declare(strict_types=1); -namespace App\Domain\Service\Budget; +namespace App\EconumoBundle\Domain\Service\Budget; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Entity\ValueObject\UserRole; -use App\Domain\Exception\AccessDeniedException; -use App\Domain\Repository\BudgetRepositoryInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Entity\ValueObject\UserRole; +use App\EconumoBundle\Domain\Exception\AccessDeniedException; +use App\EconumoBundle\Domain\Repository\BudgetRepositoryInterface; +use App\EconumoBundle\Domain\Service\Budget\BudgetAccessServiceInterface; readonly class BudgetAccessService implements BudgetAccessServiceInterface { diff --git a/src/Domain/Service/Budget/BudgetAccessServiceInterface.php b/src/EconumoBundle/Domain/Service/Budget/BudgetAccessServiceInterface.php similarity index 72% rename from src/Domain/Service/Budget/BudgetAccessServiceInterface.php rename to src/EconumoBundle/Domain/Service/Budget/BudgetAccessServiceInterface.php index 8d373957..284201ab 100644 --- a/src/Domain/Service/Budget/BudgetAccessServiceInterface.php +++ b/src/EconumoBundle/Domain/Service/Budget/BudgetAccessServiceInterface.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace App\Domain\Service\Budget; +namespace App\EconumoBundle\Domain\Service\Budget; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Entity\ValueObject\UserRole; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Entity\ValueObject\UserRole; interface BudgetAccessServiceInterface { diff --git a/src/Domain/Service/Budget/BudgetDataService.php b/src/EconumoBundle/Domain/Service/Budget/BudgetDataService.php similarity index 78% rename from src/Domain/Service/Budget/BudgetDataService.php rename to src/EconumoBundle/Domain/Service/Budget/BudgetDataService.php index 08a59be9..dfc8af67 100644 --- a/src/Domain/Service/Budget/BudgetDataService.php +++ b/src/EconumoBundle/Domain/Service/Budget/BudgetDataService.php @@ -3,18 +3,19 @@ declare(strict_types=1); -namespace App\Domain\Service\Budget; +namespace App\EconumoBundle\Domain\Service\Budget; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Service\Budget\Assembler\AverageCurrencyRateDtoAssembler; -use App\Domain\Service\Budget\Assembler\BudgetElementsAmountDtoAssembler; -use App\Domain\Service\Budget\Assembler\CurrencyBalanceDtoAssembler; -use App\Domain\Service\Budget\Dto\AverageCurrencyRateDto; -use App\Domain\Service\Budget\Dto\BudgetDataDto; -use App\Domain\Service\Budget\Dto\BudgetEntityAmountDto; -use App\Domain\Service\Budget\Dto\BudgetFiltersDto; -use App\Domain\Service\Budget\Dto\CurrencyBalanceDto; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Service\Budget\Assembler\AverageCurrencyRateDtoAssembler; +use App\EconumoBundle\Domain\Service\Budget\Assembler\BudgetElementsAmountDtoAssembler; +use App\EconumoBundle\Domain\Service\Budget\Assembler\CurrencyBalanceDtoAssembler; +use App\EconumoBundle\Domain\Service\Budget\BudgetStructureService; +use App\EconumoBundle\Domain\Service\Budget\Dto\AverageCurrencyRateDto; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetDataDto; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetEntityAmountDto; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetFiltersDto; +use App\EconumoBundle\Domain\Service\Budget\Dto\CurrencyBalanceDto; use DateTimeImmutable; use DateTimeInterface; diff --git a/src/Domain/Service/Budget/BudgetDeletionService.php b/src/EconumoBundle/Domain/Service/Budget/BudgetDeletionService.php similarity index 75% rename from src/Domain/Service/Budget/BudgetDeletionService.php rename to src/EconumoBundle/Domain/Service/Budget/BudgetDeletionService.php index 89050607..53bdf8b9 100644 --- a/src/Domain/Service/Budget/BudgetDeletionService.php +++ b/src/EconumoBundle/Domain/Service/Budget/BudgetDeletionService.php @@ -3,11 +3,11 @@ declare(strict_types=1); -namespace App\Domain\Service\Budget; +namespace App\EconumoBundle\Domain\Service\Budget; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Repository\BudgetRepositoryInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Repository\BudgetRepositoryInterface; readonly class BudgetDeletionService { diff --git a/src/Domain/Service/Budget/BudgetEntityService.php b/src/EconumoBundle/Domain/Service/Budget/BudgetEntityService.php similarity index 80% rename from src/Domain/Service/Budget/BudgetEntityService.php rename to src/EconumoBundle/Domain/Service/Budget/BudgetEntityService.php index c9867f6b..995d6f34 100644 --- a/src/Domain/Service/Budget/BudgetEntityService.php +++ b/src/EconumoBundle/Domain/Service/Budget/BudgetEntityService.php @@ -2,16 +2,17 @@ declare(strict_types=1); -namespace App\Domain\Service\Budget; +namespace App\EconumoBundle\Domain\Service\Budget; -use App\Domain\Entity\BudgetEntityOption; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Factory\BudgetEntityOptionFactoryInterface; -use App\Domain\Repository\BudgetEntityOptionRepositoryInterface; -use App\Domain\Repository\CategoryRepositoryInterface; -use App\Domain\Repository\TagRepositoryInterface; -use App\Domain\Service\Budget\Dto\BudgetCategoryDto; -use App\Domain\Service\Budget\Dto\BudgetTagDto; +use App\EconumoBundle\Domain\Entity\BudgetEntityOption; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Factory\BudgetEntityOptionFactoryInterface; +use App\EconumoBundle\Domain\Repository\BudgetEntityOptionRepositoryInterface; +use App\EconumoBundle\Domain\Repository\CategoryRepositoryInterface; +use App\EconumoBundle\Domain\Repository\TagRepositoryInterface; +use App\EconumoBundle\Domain\Service\Budget\BudgetEntityServiceInterface; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetCategoryDto; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetTagDto; use Throwable; readonly class BudgetEntityService implements BudgetEntityServiceInterface diff --git a/src/Domain/Service/Budget/BudgetEntityServiceInterface.php b/src/EconumoBundle/Domain/Service/Budget/BudgetEntityServiceInterface.php similarity index 73% rename from src/Domain/Service/Budget/BudgetEntityServiceInterface.php rename to src/EconumoBundle/Domain/Service/Budget/BudgetEntityServiceInterface.php index b43204f2..c46299d2 100644 --- a/src/Domain/Service/Budget/BudgetEntityServiceInterface.php +++ b/src/EconumoBundle/Domain/Service/Budget/BudgetEntityServiceInterface.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace App\Domain\Service\Budget; +namespace App\EconumoBundle\Domain\Service\Budget; -use App\Domain\Entity\BudgetEntityOption; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Service\Budget\Dto\BudgetCategoryDto; +use App\EconumoBundle\Domain\Entity\BudgetEntityOption; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetCategoryDto; use Throwable; interface BudgetEntityServiceInterface diff --git a/src/Domain/Service/Budget/BudgetService.php b/src/EconumoBundle/Domain/Service/Budget/BudgetService.php similarity index 66% rename from src/Domain/Service/Budget/BudgetService.php rename to src/EconumoBundle/Domain/Service/Budget/BudgetService.php index e846510f..83c1b52f 100644 --- a/src/Domain/Service/Budget/BudgetService.php +++ b/src/EconumoBundle/Domain/Service/Budget/BudgetService.php @@ -2,23 +2,29 @@ declare(strict_types=1); -namespace App\Domain\Service\Budget; - -use App\Domain\Entity\ValueObject\BudgetName; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Exception\AccessDeniedException; -use App\Domain\Factory\BudgetFactoryInterface; -use App\Domain\Repository\AccountRepositoryInterface; -use App\Domain\Repository\BudgetEntityAmountRepositoryInterface; -use App\Domain\Repository\BudgetRepositoryInterface; -use App\Domain\Service\AntiCorruptionServiceInterface; -use App\Domain\Service\Budget\Assembler\BudgetDtoAssembler; -use App\Domain\Service\Budget\Assembler\BudgetMetaDtoAssembler; -use App\Domain\Service\Budget\Dto\BudgetDto; -use App\Domain\Service\Budget\Dto\BudgetMetaDto; -use App\Domain\Service\Budget\Dto\BudgetDataDto; -use App\Domain\Service\DatetimeServiceInterface; -use App\Domain\Service\UserServiceInterface; +namespace App\EconumoBundle\Domain\Service\Budget; + +use App\EconumoBundle\Domain\Entity\ValueObject\BudgetName; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Exception\AccessDeniedException; +use App\EconumoBundle\Domain\Factory\BudgetFactoryInterface; +use App\EconumoBundle\Domain\Repository\AccountRepositoryInterface; +use App\EconumoBundle\Domain\Repository\BudgetEntityAmountRepositoryInterface; +use App\EconumoBundle\Domain\Repository\BudgetRepositoryInterface; +use App\EconumoBundle\Domain\Repository\CurrencyRepositoryInterface; +use App\EconumoBundle\Domain\Repository\UserRepositoryInterface; +use App\EconumoBundle\Domain\Service\AntiCorruptionServiceInterface; +use App\EconumoBundle\Domain\Service\Budget\Assembler\BudgetDtoAssembler; +use App\EconumoBundle\Domain\Service\Budget\Assembler\BudgetMetaDtoAssembler; +use App\EconumoBundle\Domain\Service\Budget\BudgetDataService; +use App\EconumoBundle\Domain\Service\Budget\BudgetServiceInterface; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetDto; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetMetaDto; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetDataDto; +use App\EconumoBundle\Domain\Service\Budget\BudgetEntityServiceInterface; +use App\EconumoBundle\Domain\Service\DatetimeServiceInterface; +use App\EconumoBundle\Domain\Service\UserServiceInterface; +use App\EconumoBundle\Domain\Service\Budget\BudgetDeletionService; use DateTimeInterface; use Throwable; @@ -37,19 +43,35 @@ public function __construct( private BudgetEntityAmountRepositoryInterface $budgetEntityAmountRepository, private BudgetDataService $budgetDataService, private BudgetDtoAssembler $budgetDtoAssembler, + private UserRepositoryInterface $userRepository, + private CurrencyRepositoryInterface $currencyRepository, ) { } - public function createBudget(Id $userId, Id $budgetId, BudgetName $name, array $excludedAccountsIds = []): BudgetMetaDto - { + public function createBudget( + Id $userId, + Id $budgetId, + BudgetName $name, + ?DateTimeInterface $startDate, + ?Id $currencyId, + array $excludedAccountsIds = [] + ): BudgetDto { $this->antiCorruptionService->beginTransaction(__METHOD__); try { + $date = $startDate !== null ? $startDate : $this->datetimeService->getCurrentDatetime(); + if ($currencyId === null) { + $user = $this->userRepository->get($userId); + $currency = $this->currencyRepository->getByCode($user->getCurrency()); + } else { + $currency = $this->currencyRepository->getReference($currencyId); + } $budget = $this->budgetFactory->create( $userId, $budgetId, $name, + $date, + $currency->getId(), $excludedAccountsIds, - $this->datetimeService->getCurrentDatetime() ); $this->budgetRepository->save([$budget]); $categoriesOptions = $this->budgetEntityService->createCategoriesOptions($userId, $budgetId); @@ -61,7 +83,7 @@ public function createBudget(Id $userId, Id $budgetId, BudgetName $name, array $ throw $e; } - return $this->budgetMetaDtoAssembler->assemble($budget); + return $this->budgetDtoAssembler->assemble($userId, $budget, $this->datetimeService->getCurrentDatetime()); } public function getBudgetList(Id $userId): array diff --git a/src/Domain/Service/Budget/BudgetServiceInterface.php b/src/EconumoBundle/Domain/Service/Budget/BudgetServiceInterface.php similarity index 70% rename from src/Domain/Service/Budget/BudgetServiceInterface.php rename to src/EconumoBundle/Domain/Service/Budget/BudgetServiceInterface.php index 7f27c799..5c261507 100644 --- a/src/Domain/Service/Budget/BudgetServiceInterface.php +++ b/src/EconumoBundle/Domain/Service/Budget/BudgetServiceInterface.php @@ -3,13 +3,13 @@ declare(strict_types=1); -namespace App\Domain\Service\Budget; +namespace App\EconumoBundle\Domain\Service\Budget; -use App\Domain\Entity\ValueObject\BudgetName; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Service\Budget\Dto\BudgetDto; -use App\Domain\Service\Budget\Dto\BudgetMetaDto; +use App\EconumoBundle\Domain\Entity\ValueObject\BudgetName; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetDto; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetMetaDto; use DateTimeInterface; interface BudgetServiceInterface @@ -18,15 +18,19 @@ interface BudgetServiceInterface * @param Id $userId User ID * @param Id $budgetId Budget ID * @param BudgetName $name Budget name + * @param DateTimeInterface|null $startDate + * @param Id|null $currencyId * @param Id[] $excludedAccountsIds - * @return BudgetMetaDto + * @return BudgetDto */ public function createBudget( Id $userId, Id $budgetId, BudgetName $name, + ?DateTimeInterface $startDate, + ?Id $currencyId, array $excludedAccountsIds = [] - ): BudgetMetaDto; + ): BudgetDto; /** * @param Id $userId diff --git a/src/Domain/Service/Budget/BudgetStructureService.php b/src/EconumoBundle/Domain/Service/Budget/BudgetStructureService.php similarity index 59% rename from src/Domain/Service/Budget/BudgetStructureService.php rename to src/EconumoBundle/Domain/Service/Budget/BudgetStructureService.php index a866c4df..57c4ae5f 100644 --- a/src/Domain/Service/Budget/BudgetStructureService.php +++ b/src/EconumoBundle/Domain/Service/Budget/BudgetStructureService.php @@ -3,13 +3,13 @@ declare(strict_types=1); -namespace App\Domain\Service\Budget; +namespace App\EconumoBundle\Domain\Service\Budget; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Repository\BudgetRepositoryInterface; -use App\Domain\Service\Budget\Assembler\BudgetFiltersDtoAssembler; -use App\Domain\Service\Budget\Dto\BudgetFiltersDto; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Repository\BudgetRepositoryInterface; +use App\EconumoBundle\Domain\Service\Budget\Assembler\BudgetFiltersDtoAssembler; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetFiltersDto; readonly class BudgetStructureService { diff --git a/src/Domain/Service/Budget/Dto/AverageCurrencyRateDto.php b/src/EconumoBundle/Domain/Service/Budget/Dto/AverageCurrencyRateDto.php similarity index 62% rename from src/Domain/Service/Budget/Dto/AverageCurrencyRateDto.php rename to src/EconumoBundle/Domain/Service/Budget/Dto/AverageCurrencyRateDto.php index c9228205..ac847cc9 100644 --- a/src/Domain/Service/Budget/Dto/AverageCurrencyRateDto.php +++ b/src/EconumoBundle/Domain/Service/Budget/Dto/AverageCurrencyRateDto.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\Domain\Service\Budget\Dto; +namespace App\EconumoBundle\Domain\Service\Budget\Dto; -use App\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; readonly class AverageCurrencyRateDto { diff --git a/src/Domain/Service/Budget/Dto/BudgetCategoryDto.php b/src/EconumoBundle/Domain/Service/Budget/Dto/BudgetCategoryDto.php similarity index 60% rename from src/Domain/Service/Budget/Dto/BudgetCategoryDto.php rename to src/EconumoBundle/Domain/Service/Budget/Dto/BudgetCategoryDto.php index 95ff0f4a..83ecd1b2 100644 --- a/src/Domain/Service/Budget/Dto/BudgetCategoryDto.php +++ b/src/EconumoBundle/Domain/Service/Budget/Dto/BudgetCategoryDto.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace App\Domain\Service\Budget\Dto; +namespace App\EconumoBundle\Domain\Service\Budget\Dto; -use App\Domain\Entity\ValueObject\CategoryName; -use App\Domain\Entity\ValueObject\CategoryType; -use App\Domain\Entity\ValueObject\Icon; -use App\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Entity\ValueObject\CategoryName; +use App\EconumoBundle\Domain\Entity\ValueObject\CategoryType; +use App\EconumoBundle\Domain\Entity\ValueObject\Icon; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; readonly class BudgetCategoryDto { diff --git a/src/Domain/Service/Budget/Dto/BudgetDataDto.php b/src/EconumoBundle/Domain/Service/Budget/Dto/BudgetDataDto.php similarity index 61% rename from src/Domain/Service/Budget/Dto/BudgetDataDto.php rename to src/EconumoBundle/Domain/Service/Budget/Dto/BudgetDataDto.php index 2fc05c09..d4b26b7f 100644 --- a/src/Domain/Service/Budget/Dto/BudgetDataDto.php +++ b/src/EconumoBundle/Domain/Service/Budget/Dto/BudgetDataDto.php @@ -2,9 +2,12 @@ declare(strict_types=1); -namespace App\Domain\Service\Budget\Dto; +namespace App\EconumoBundle\Domain\Service\Budget\Dto; -use App\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Service\Budget\Dto\AverageCurrencyRateDto; +use App\EconumoBundle\Domain\Service\Budget\Dto\BudgetEntityAmountDto; +use App\EconumoBundle\Domain\Service\Budget\Dto\CurrencyBalanceDto; use DateTimeInterface; readonly class BudgetDataDto diff --git a/src/EconumoBundle/Domain/Service/Budget/Dto/BudgetDto.php b/src/EconumoBundle/Domain/Service/Budget/Dto/BudgetDto.php new file mode 100644 index 00000000..f1921566 --- /dev/null +++ b/src/EconumoBundle/Domain/Service/Budget/Dto/BudgetDto.php @@ -0,0 +1,21 @@ + - @@ -23,10 +23,10 @@ - + - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/AccountAccess.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/AccountAccess.orm.xml similarity index 72% rename from src/Infrastructure/Doctrine/Entity/mapping/AccountAccess.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/AccountAccess.orm.xml index 5897f3cf..edb6149f 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/AccountAccess.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/AccountAccess.orm.xml @@ -3,8 +3,8 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - + @@ -12,10 +12,10 @@ - + - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/AccountOptions.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/AccountOptions.orm.xml similarity index 78% rename from src/Infrastructure/Doctrine/Entity/mapping/AccountOptions.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/AccountOptions.orm.xml index 33f6c22c..9d4427b6 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/AccountOptions.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/AccountOptions.orm.xml @@ -3,7 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - @@ -16,10 +16,10 @@ - + - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/Budget.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Budget.orm.xml similarity index 74% rename from src/Infrastructure/Doctrine/Entity/mapping/Budget.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Budget.orm.xml index 0b11f19b..0959ab3f 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/Budget.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Budget.orm.xml @@ -3,21 +3,21 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - + - + - + - + @@ -27,13 +27,13 @@ - + - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/BudgetAccess.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/BudgetAccess.orm.xml similarity index 76% rename from src/Infrastructure/Doctrine/Entity/mapping/BudgetAccess.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/BudgetAccess.orm.xml index d42ee885..5035d24b 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/BudgetAccess.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/BudgetAccess.orm.xml @@ -3,8 +3,8 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - + @@ -17,10 +17,10 @@ - + - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/BudgetEntityAmount.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/BudgetEntityAmount.orm.xml similarity index 83% rename from src/Infrastructure/Doctrine/Entity/mapping/BudgetEntityAmount.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/BudgetEntityAmount.orm.xml index 641da771..c8baf719 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/BudgetEntityAmount.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/BudgetEntityAmount.orm.xml @@ -3,7 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - @@ -15,7 +15,7 @@ - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/BudgetEntityOption.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/BudgetEntityOption.orm.xml similarity index 76% rename from src/Infrastructure/Doctrine/Entity/mapping/BudgetEntityOption.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/BudgetEntityOption.orm.xml index 552b6268..2a7e82ca 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/BudgetEntityOption.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/BudgetEntityOption.orm.xml @@ -3,7 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - @@ -18,13 +18,13 @@ - + - + - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/BudgetEnvelope.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/BudgetEnvelope.orm.xml similarity index 82% rename from src/Infrastructure/Doctrine/Entity/mapping/BudgetEnvelope.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/BudgetEnvelope.orm.xml index 9b8d12c6..f5b72931 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/BudgetEnvelope.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/BudgetEnvelope.orm.xml @@ -3,7 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - @@ -16,10 +16,10 @@ - + - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/BudgetFolder.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/BudgetFolder.orm.xml similarity index 81% rename from src/Infrastructure/Doctrine/Entity/mapping/BudgetFolder.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/BudgetFolder.orm.xml index 6fe2be80..d734a81e 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/BudgetFolder.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/BudgetFolder.orm.xml @@ -3,7 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - @@ -17,7 +17,7 @@ - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/Category.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Category.orm.xml similarity index 84% rename from src/Infrastructure/Doctrine/Entity/mapping/Category.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Category.orm.xml index 80b04d0d..d11a8bf3 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/Category.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Category.orm.xml @@ -3,8 +3,8 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - + @@ -24,7 +24,7 @@ - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/ConnectionInvite.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/ConnectionInvite.orm.xml similarity index 77% rename from src/Infrastructure/Doctrine/Entity/mapping/ConnectionInvite.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/ConnectionInvite.orm.xml index 56b53e55..bc37b840 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/ConnectionInvite.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/ConnectionInvite.orm.xml @@ -3,14 +3,14 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - + - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/Currency.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Currency.orm.xml similarity index 82% rename from src/Infrastructure/Doctrine/Entity/mapping/Currency.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Currency.orm.xml index c67615eb..6c22ac9c 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/Currency.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Currency.orm.xml @@ -2,8 +2,8 @@ - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/CurrencyRate.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/CurrencyRate.orm.xml similarity index 77% rename from src/Infrastructure/Doctrine/Entity/mapping/CurrencyRate.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/CurrencyRate.orm.xml index 2f74693e..e0bd59b7 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/CurrencyRate.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/CurrencyRate.orm.xml @@ -2,16 +2,16 @@ - + - + - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/Folder.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Folder.orm.xml similarity index 84% rename from src/Infrastructure/Doctrine/Entity/mapping/Folder.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Folder.orm.xml index c9f32c2b..1f63897c 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/Folder.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Folder.orm.xml @@ -3,7 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - @@ -22,10 +22,10 @@ - + - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/Payee.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Payee.orm.xml similarity index 84% rename from src/Infrastructure/Doctrine/Entity/mapping/Payee.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Payee.orm.xml index ff32fdf5..130a4e35 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/Payee.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Payee.orm.xml @@ -3,7 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - @@ -22,7 +22,7 @@ - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/Tag.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Tag.orm.xml similarity index 85% rename from src/Infrastructure/Doctrine/Entity/mapping/Tag.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Tag.orm.xml index eb97ef00..f26b2c08 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/Tag.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Tag.orm.xml @@ -3,7 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - @@ -22,7 +22,7 @@ - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/Transaction.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Transaction.orm.xml similarity index 78% rename from src/Infrastructure/Doctrine/Entity/mapping/Transaction.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Transaction.orm.xml index 1393682b..c11b28d9 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/Transaction.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/Transaction.orm.xml @@ -3,8 +3,8 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - + @@ -16,22 +16,22 @@ - + - + - + - + - + - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/User.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/User.orm.xml similarity index 79% rename from src/Infrastructure/Doctrine/Entity/mapping/User.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/User.orm.xml index 67408084..d1c335c6 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/User.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/User.orm.xml @@ -2,7 +2,7 @@ - @@ -12,7 +12,7 @@ - + @@ -23,6 +23,6 @@ - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/UserOption.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/UserOption.orm.xml similarity index 80% rename from src/Infrastructure/Doctrine/Entity/mapping/UserOption.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/UserOption.orm.xml index b60c4eae..f6452190 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/UserOption.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/UserOption.orm.xml @@ -2,7 +2,7 @@ - @@ -10,7 +10,7 @@ - + diff --git a/src/Infrastructure/Doctrine/Entity/mapping/UserPasswordRequest.orm.xml b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/UserPasswordRequest.orm.xml similarity index 79% rename from src/Infrastructure/Doctrine/Entity/mapping/UserPasswordRequest.orm.xml rename to src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/UserPasswordRequest.orm.xml index def5d03d..33336e5b 100644 --- a/src/Infrastructure/Doctrine/Entity/mapping/UserPasswordRequest.orm.xml +++ b/src/EconumoBundle/Infrastructure/Doctrine/Entity/mapping/UserPasswordRequest.orm.xml @@ -3,7 +3,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping https://www.doctrine-project.org/schemas/orm/doctrine-mapping.xsd"> - @@ -15,6 +15,6 @@ - + diff --git a/src/Infrastructure/Doctrine/Factory/CurrencyFactory.php b/src/EconumoBundle/Infrastructure/Doctrine/Factory/CurrencyFactory.php similarity index 68% rename from src/Infrastructure/Doctrine/Factory/CurrencyFactory.php rename to src/EconumoBundle/Infrastructure/Doctrine/Factory/CurrencyFactory.php index 3bec0d7b..4ee239db 100644 --- a/src/Infrastructure/Doctrine/Factory/CurrencyFactory.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Factory/CurrencyFactory.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Factory; +namespace App\EconumoBundle\Infrastructure\Doctrine\Factory; -use App\Domain\Entity\Currency; -use App\Domain\Entity\ValueObject\CurrencyCode; -use App\Domain\Factory\CurrencyFactoryInterface; -use App\Domain\Repository\CurrencyRepositoryInterface; -use App\Domain\Service\DatetimeServiceInterface; +use App\EconumoBundle\Domain\Entity\Currency; +use App\EconumoBundle\Domain\Entity\ValueObject\CurrencyCode; +use App\EconumoBundle\Domain\Factory\CurrencyFactoryInterface; +use App\EconumoBundle\Domain\Repository\CurrencyRepositoryInterface; +use App\EconumoBundle\Domain\Service\DatetimeServiceInterface; use Symfony\Component\Intl\Currencies; use Symfony\Component\Intl\Exception\MissingResourceException; diff --git a/src/Infrastructure/Doctrine/Factory/OperationIdFactory.php b/src/EconumoBundle/Infrastructure/Doctrine/Factory/OperationIdFactory.php similarity index 56% rename from src/Infrastructure/Doctrine/Factory/OperationIdFactory.php rename to src/EconumoBundle/Infrastructure/Doctrine/Factory/OperationIdFactory.php index 800d8bd8..411ccdbd 100644 --- a/src/Infrastructure/Doctrine/Factory/OperationIdFactory.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Factory/OperationIdFactory.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Factory; +namespace App\EconumoBundle\Infrastructure\Doctrine\Factory; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Service\DatetimeServiceInterface; -use App\Infrastructure\Doctrine\Entity\OperationId; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Service\DatetimeServiceInterface; +use App\EconumoBundle\Infrastructure\Doctrine\Entity\OperationId; class OperationIdFactory { diff --git a/src/Infrastructure/Doctrine/Factory/UserFactory.php b/src/EconumoBundle/Infrastructure/Doctrine/Factory/UserFactory.php similarity index 70% rename from src/Infrastructure/Doctrine/Factory/UserFactory.php rename to src/EconumoBundle/Infrastructure/Doctrine/Factory/UserFactory.php index 1fafbb84..03fb198f 100644 --- a/src/Infrastructure/Doctrine/Factory/UserFactory.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Factory/UserFactory.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Factory; +namespace App\EconumoBundle\Infrastructure\Doctrine\Factory; -use App\Domain\Entity\User; -use App\Domain\Entity\ValueObject\Email; -use App\Domain\Factory\UserFactoryInterface; -use App\Domain\Repository\UserRepositoryInterface; -use App\Domain\Service\DatetimeServiceInterface; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\ValueObject\Email; +use App\EconumoBundle\Domain\Factory\UserFactoryInterface; +use App\EconumoBundle\Domain\Repository\UserRepositoryInterface; +use App\EconumoBundle\Domain\Service\DatetimeServiceInterface; use Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface; class UserFactory implements UserFactoryInterface diff --git a/src/Infrastructure/Doctrine/Migration/Version20210812210548.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210812210548.php similarity index 97% rename from src/Infrastructure/Doctrine/Migration/Version20210812210548.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210812210548.php index cc309d52..4d00a306 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20210812210548.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210812210548.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20210815145533.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210815145533.php similarity index 94% rename from src/Infrastructure/Doctrine/Migration/Version20210815145533.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210815145533.php index 396242af..f7401e7b 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20210815145533.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210815145533.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20210815182016.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210815182016.php similarity index 95% rename from src/Infrastructure/Doctrine/Migration/Version20210815182016.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210815182016.php index 251a91a7..31b0de49 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20210815182016.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210815182016.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20210820192632.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210820192632.php similarity index 95% rename from src/Infrastructure/Doctrine/Migration/Version20210820192632.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210820192632.php index 91f303e0..6f675cae 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20210820192632.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210820192632.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20210820205511.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210820205511.php similarity index 95% rename from src/Infrastructure/Doctrine/Migration/Version20210820205511.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210820205511.php index 4249cb12..baca9da0 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20210820205511.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210820205511.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20210820211021.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210820211021.php similarity index 95% rename from src/Infrastructure/Doctrine/Migration/Version20210820211021.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210820211021.php index cdd4c03e..4f56f2f0 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20210820211021.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210820211021.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20210821094922.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210821094922.php similarity index 96% rename from src/Infrastructure/Doctrine/Migration/Version20210821094922.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210821094922.php index 35ae25c8..e73f6e57 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20210821094922.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210821094922.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20210822101630.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210822101630.php similarity index 94% rename from src/Infrastructure/Doctrine/Migration/Version20210822101630.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210822101630.php index fbde0597..76c44161 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20210822101630.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210822101630.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20210823194424.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210823194424.php similarity index 94% rename from src/Infrastructure/Doctrine/Migration/Version20210823194424.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210823194424.php index d9f4a162..868cc3ae 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20210823194424.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20210823194424.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211007104122.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211007104122.php similarity index 95% rename from src/Infrastructure/Doctrine/Migration/Version20211007104122.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211007104122.php index bd0f1dd0..e675e1ca 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211007104122.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211007104122.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211007130212.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211007130212.php similarity index 95% rename from src/Infrastructure/Doctrine/Migration/Version20211007130212.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211007130212.php index e5fa384b..5130a721 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211007130212.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211007130212.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211024163413.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211024163413.php similarity index 95% rename from src/Infrastructure/Doctrine/Migration/Version20211024163413.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211024163413.php index 5977df33..062c2a50 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211024163413.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211024163413.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211121195400.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211121195400.php similarity index 96% rename from src/Infrastructure/Doctrine/Migration/Version20211121195400.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211121195400.php index 3d7e5dae..209d7620 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211121195400.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211121195400.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211128150459.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128150459.php similarity index 96% rename from src/Infrastructure/Doctrine/Migration/Version20211128150459.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128150459.php index 0268a324..141ad99a 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211128150459.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128150459.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211128154246.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128154246.php similarity index 96% rename from src/Infrastructure/Doctrine/Migration/Version20211128154246.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128154246.php index c4d548c5..271e929c 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211128154246.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128154246.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211128160957.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128160957.php similarity index 97% rename from src/Infrastructure/Doctrine/Migration/Version20211128160957.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128160957.php index 8ca206ea..1c67ba29 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211128160957.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128160957.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211128162728.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128162728.php similarity index 95% rename from src/Infrastructure/Doctrine/Migration/Version20211128162728.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128162728.php index 860949cb..3ffe929a 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211128162728.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128162728.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211128165440.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128165440.php similarity index 95% rename from src/Infrastructure/Doctrine/Migration/Version20211128165440.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128165440.php index b9ea4c46..c303bde5 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211128165440.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128165440.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211128170211.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128170211.php similarity index 95% rename from src/Infrastructure/Doctrine/Migration/Version20211128170211.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128170211.php index 2ec16948..592cd505 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211128170211.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128170211.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211128172045.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128172045.php similarity index 98% rename from src/Infrastructure/Doctrine/Migration/Version20211128172045.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128172045.php index 8665b041..0d242802 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211128172045.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211128172045.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211130185558.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211130185558.php similarity index 96% rename from src/Infrastructure/Doctrine/Migration/Version20211130185558.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211130185558.php index f19ff447..c7883d39 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211130185558.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211130185558.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211130192704.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211130192704.php similarity index 93% rename from src/Infrastructure/Doctrine/Migration/Version20211130192704.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211130192704.php index 295c9fb3..74e02d23 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211130192704.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211130192704.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211130192857.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211130192857.php similarity index 96% rename from src/Infrastructure/Doctrine/Migration/Version20211130192857.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211130192857.php index 0f69d521..97365bea 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211130192857.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211130192857.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211130200333.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211130200333.php similarity index 96% rename from src/Infrastructure/Doctrine/Migration/Version20211130200333.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211130200333.php index 5e19f10a..fe1e56d2 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211130200333.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211130200333.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211208183725.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211208183725.php similarity index 97% rename from src/Infrastructure/Doctrine/Migration/Version20211208183725.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211208183725.php index 56cc3336..3c56e136 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211208183725.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211208183725.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20211219071725.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211219071725.php similarity index 93% rename from src/Infrastructure/Doctrine/Migration/Version20211219071725.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211219071725.php index 0ccbaf04..20518968 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20211219071725.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20211219071725.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20220102163923.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220102163923.php similarity index 94% rename from src/Infrastructure/Doctrine/Migration/Version20220102163923.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220102163923.php index c765d85b..babf9ef9 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20220102163923.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220102163923.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20220103084323.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220103084323.php similarity index 97% rename from src/Infrastructure/Doctrine/Migration/Version20220103084323.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220103084323.php index b95b6084..5467424d 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20220103084323.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220103084323.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20220103100247.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220103100247.php similarity index 94% rename from src/Infrastructure/Doctrine/Migration/Version20220103100247.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220103100247.php index 6dfaadd1..e3bfbf58 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20220103100247.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220103100247.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20220103114330.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220103114330.php similarity index 94% rename from src/Infrastructure/Doctrine/Migration/Version20220103114330.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220103114330.php index f0c57b01..ca3b2e91 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20220103114330.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220103114330.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20220105165436.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220105165436.php similarity index 94% rename from src/Infrastructure/Doctrine/Migration/Version20220105165436.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220105165436.php index 6b1d50dc..85ed13de 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20220105165436.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220105165436.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20220108154733.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220108154733.php similarity index 97% rename from src/Infrastructure/Doctrine/Migration/Version20220108154733.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220108154733.php index b12db5bd..b52d9fb4 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20220108154733.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220108154733.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20220116100634.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220116100634.php similarity index 97% rename from src/Infrastructure/Doctrine/Migration/Version20220116100634.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220116100634.php index 92334d5a..facee9fb 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20220116100634.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220116100634.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20220116172031.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220116172031.php similarity index 96% rename from src/Infrastructure/Doctrine/Migration/Version20220116172031.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220116172031.php index 67404916..18edcc76 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20220116172031.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220116172031.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20220217195918.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220217195918.php similarity index 95% rename from src/Infrastructure/Doctrine/Migration/Version20220217195918.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220217195918.php index 49f15bc1..e2f7bd2f 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20220217195918.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220217195918.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20220220121754.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220220121754.php similarity index 96% rename from src/Infrastructure/Doctrine/Migration/Version20220220121754.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220220121754.php index 37c0f864..368ca59d 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20220220121754.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220220121754.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20220313191418.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220313191418.php similarity index 96% rename from src/Infrastructure/Doctrine/Migration/Version20220313191418.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220313191418.php index d5b0a255..ec222977 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20220313191418.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220313191418.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20220314194214.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220314194214.php similarity index 94% rename from src/Infrastructure/Doctrine/Migration/Version20220314194214.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220314194214.php index d1e66949..548c50da 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20220314194214.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220314194214.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20220526192053.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220526192053.php similarity index 94% rename from src/Infrastructure/Doctrine/Migration/Version20220526192053.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220526192053.php index 15267b0b..1d00e0a8 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20220526192053.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20220526192053.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20230219210615.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230219210615.php similarity index 96% rename from src/Infrastructure/Doctrine/Migration/Version20230219210615.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230219210615.php index e150f76b..1e8631fc 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20230219210615.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230219210615.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20230905032555.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230905032555.php similarity index 98% rename from src/Infrastructure/Doctrine/Migration/Version20230905032555.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230905032555.php index 69bd5b40..307dfd44 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20230905032555.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230905032555.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20230917045851.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230917045851.php similarity index 98% rename from src/Infrastructure/Doctrine/Migration/Version20230917045851.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230917045851.php index a85839ad..e8f680fb 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20230917045851.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230917045851.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20230917202434.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230917202434.php similarity index 96% rename from src/Infrastructure/Doctrine/Migration/Version20230917202434.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230917202434.php index 909db920..c365308e 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20230917202434.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230917202434.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20230917210936.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230917210936.php similarity index 94% rename from src/Infrastructure/Doctrine/Migration/Version20230917210936.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230917210936.php index 20a39af2..4bb71bf2 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20230917210936.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230917210936.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20230917224327.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230917224327.php similarity index 96% rename from src/Infrastructure/Doctrine/Migration/Version20230917224327.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230917224327.php index 264e29c1..9a910fde 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20230917224327.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230917224327.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20230918000357.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230918000357.php similarity index 94% rename from src/Infrastructure/Doctrine/Migration/Version20230918000357.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230918000357.php index 1f2491b1..3163e5f6 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20230918000357.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20230918000357.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20231012034345.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231012034345.php similarity index 98% rename from src/Infrastructure/Doctrine/Migration/Version20231012034345.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231012034345.php index 5e482352..922b9d1b 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20231012034345.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231012034345.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20231019035622.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231019035622.php similarity index 99% rename from src/Infrastructure/Doctrine/Migration/Version20231019035622.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231019035622.php index fda0436f..1924248f 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20231019035622.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231019035622.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20231019040323.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231019040323.php similarity index 94% rename from src/Infrastructure/Doctrine/Migration/Version20231019040323.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231019040323.php index 72a46dfe..e234bccd 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20231019040323.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231019040323.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20231020013838.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231020013838.php similarity index 97% rename from src/Infrastructure/Doctrine/Migration/Version20231020013838.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231020013838.php index 7f0ade62..43aa271e 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20231020013838.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231020013838.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20231022185136.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231022185136.php similarity index 94% rename from src/Infrastructure/Doctrine/Migration/Version20231022185136.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231022185136.php index 3f64bbdf..01111b94 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20231022185136.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231022185136.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20231029160624.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231029160624.php similarity index 95% rename from src/Infrastructure/Doctrine/Migration/Version20231029160624.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231029160624.php index 0f2a8be5..ad93632b 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20231029160624.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231029160624.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20231120013455.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231120013455.php similarity index 97% rename from src/Infrastructure/Doctrine/Migration/Version20231120013455.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231120013455.php index b106f921..6f804647 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20231120013455.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20231120013455.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20240811061046.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240811061046.php similarity index 99% rename from src/Infrastructure/Doctrine/Migration/Version20240811061046.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240811061046.php index a286a3fc..a43eeb3d 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20240811061046.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240811061046.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20240903212637.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240903212637.php similarity index 98% rename from src/Infrastructure/Doctrine/Migration/Version20240903212637.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240903212637.php index 90d5b1e3..5c230114 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20240903212637.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240903212637.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20240904000307.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240904000307.php similarity index 96% rename from src/Infrastructure/Doctrine/Migration/Version20240904000307.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240904000307.php index 31b42d84..848a0e6c 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20240904000307.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240904000307.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20240909022209.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240909022209.php similarity index 97% rename from src/Infrastructure/Doctrine/Migration/Version20240909022209.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240909022209.php index daa84d45..98242d06 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20240909022209.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240909022209.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20240909024012.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240909024012.php similarity index 95% rename from src/Infrastructure/Doctrine/Migration/Version20240909024012.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240909024012.php index 755ed14e..aee7d321 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20240909024012.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240909024012.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20240909042328.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240909042328.php similarity index 97% rename from src/Infrastructure/Doctrine/Migration/Version20240909042328.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240909042328.php index bfa2cdc2..2068668d 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20240909042328.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240909042328.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20240909052918.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240909052918.php similarity index 96% rename from src/Infrastructure/Doctrine/Migration/Version20240909052918.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240909052918.php index 2929c90d..50f8e094 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20240909052918.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240909052918.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20240910041130.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240910041130.php similarity index 99% rename from src/Infrastructure/Doctrine/Migration/Version20240910041130.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240910041130.php index b945257b..803dd402 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20240910041130.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240910041130.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20240915221226.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240915221226.php similarity index 98% rename from src/Infrastructure/Doctrine/Migration/Version20240915221226.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240915221226.php index 2882b964..85ce8861 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20240915221226.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240915221226.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20240915221524.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240915221524.php similarity index 97% rename from src/Infrastructure/Doctrine/Migration/Version20240915221524.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240915221524.php index 0ea489e1..1eede7b1 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20240915221524.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240915221524.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20240922033856.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240922033856.php similarity index 98% rename from src/Infrastructure/Doctrine/Migration/Version20240922033856.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240922033856.php index cadd4e19..ab61f122 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20240922033856.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240922033856.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20240922035939.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240922035939.php similarity index 98% rename from src/Infrastructure/Doctrine/Migration/Version20240922035939.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240922035939.php index 4e8d7425..0e793c9b 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20240922035939.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240922035939.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20240923001558.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240923001558.php similarity index 97% rename from src/Infrastructure/Doctrine/Migration/Version20240923001558.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240923001558.php index a89c00ab..ee86b15a 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20240923001558.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240923001558.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20240923015318.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240923015318.php similarity index 98% rename from src/Infrastructure/Doctrine/Migration/Version20240923015318.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240923015318.php index d7ae9129..19ef9632 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20240923015318.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240923015318.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Migration/Version20240927025211.php b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240927025211.php similarity index 97% rename from src/Infrastructure/Doctrine/Migration/Version20240927025211.php rename to src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240927025211.php index d2a040f0..8873e087 100644 --- a/src/Infrastructure/Doctrine/Migration/Version20240927025211.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Migration/Version20240927025211.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Migration; +namespace App\EconumoBundle\Infrastructure\Doctrine\Migration; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; diff --git a/src/Infrastructure/Doctrine/Repository/AccountAccessInviteRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/AccountAccessInviteRepository.php similarity index 86% rename from src/Infrastructure/Doctrine/Repository/AccountAccessInviteRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/AccountAccessInviteRepository.php index 83d21ba3..df53b280 100644 --- a/src/Infrastructure/Doctrine/Repository/AccountAccessInviteRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/AccountAccessInviteRepository.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository; -use App\Domain\Entity\Account; -use App\Domain\Entity\AccountAccessInvite; -use App\Domain\Entity\User; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Exception\NotFoundException; -use App\Domain\Repository\AccountAccessInviteRepositoryInterface; +use App\EconumoBundle\Domain\Entity\Account; +use App\EconumoBundle\Domain\Entity\AccountAccessInvite; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Exception\NotFoundException; +use App\EconumoBundle\Domain\Repository\AccountAccessInviteRepositoryInterface; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\ORM\Exception\ORMException; use Doctrine\ORM\ORMInvalidArgumentException; diff --git a/src/Infrastructure/Doctrine/Repository/AccountAccessRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/AccountAccessRepository.php similarity index 84% rename from src/Infrastructure/Doctrine/Repository/AccountAccessRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/AccountAccessRepository.php index 2026f6df..277c9a58 100644 --- a/src/Infrastructure/Doctrine/Repository/AccountAccessRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/AccountAccessRepository.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository; - -use App\Domain\Entity\Account; -use App\Domain\Entity\AccountAccess; -use App\Domain\Entity\User; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Exception\NotFoundException; -use App\Domain\Repository\AccountAccessRepositoryInterface; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository; + +use App\EconumoBundle\Domain\Entity\Account; +use App\EconumoBundle\Domain\Entity\AccountAccess; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Exception\NotFoundException; +use App\EconumoBundle\Domain\Repository\AccountAccessRepositoryInterface; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Common\Collections\Criteria; use Doctrine\ORM\Exception\ORMException; @@ -92,8 +92,8 @@ public function getByAccount(Id $accountId): array public function getOwnedByUser(Id $userId): array { $dql = <<<'DQL' -SELECT a.id FROM App\Domain\Entity\AccountAccess aa -JOIN App\Domain\Entity\Account a WITH a = aa.account AND aa.user = :user +SELECT a.id FROM App\EconumoBundle\Domain\Entity\AccountAccess aa +JOIN App\EconumoBundle\Domain\Entity\Account a WITH a = aa.account AND aa.user = :user GROUP BY a.id DQL; $query = $this->getEntityManager()->createQuery($dql) @@ -116,8 +116,8 @@ public function getReceivedAccess(Id $userId): array public function getIssuedAccess(Id $userId): array { $dql = <<<'DQL' -SELECT a.id FROM App\Domain\Entity\AccountAccess aa -JOIN App\Domain\Entity\Account a WITH a = aa.account AND a.user = :user +SELECT a.id FROM App\EconumoBundle\Domain\Entity\AccountAccess aa +JOIN App\EconumoBundle\Domain\Entity\Account a WITH a = aa.account AND a.user = :user GROUP BY a.id DQL; $query = $this->getEntityManager()->createQuery($dql) diff --git a/src/Infrastructure/Doctrine/Repository/AccountOptionsRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/AccountOptionsRepository.php similarity index 86% rename from src/Infrastructure/Doctrine/Repository/AccountOptionsRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/AccountOptionsRepository.php index 213a165a..12022445 100644 --- a/src/Infrastructure/Doctrine/Repository/AccountOptionsRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/AccountOptionsRepository.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository; -use App\Domain\Entity\Account; -use App\Domain\Entity\AccountOptions; -use App\Domain\Entity\User; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Exception\NotFoundException; -use App\Domain\Repository\AccountOptionsRepositoryInterface; +use App\EconumoBundle\Domain\Entity\Account; +use App\EconumoBundle\Domain\Entity\AccountOptions; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Exception\NotFoundException; +use App\EconumoBundle\Domain\Repository\AccountOptionsRepositoryInterface; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Common\Collections\Criteria; use Doctrine\ORM\Exception\ORMException; diff --git a/src/Infrastructure/Doctrine/Repository/AccountRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/AccountRepository.php similarity index 97% rename from src/Infrastructure/Doctrine/Repository/AccountRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/AccountRepository.php index 0e6f3e4a..e497a7b9 100644 --- a/src/Infrastructure/Doctrine/Repository/AccountRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/AccountRepository.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository; -use App\Domain\Entity\Account; -use App\Domain\Entity\AccountAccess; -use App\Domain\Entity\User; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Exception\NotFoundException; -use App\Domain\Repository\AccountRepositoryInterface; +use App\EconumoBundle\Domain\Entity\Account; +use App\EconumoBundle\Domain\Entity\AccountAccess; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Exception\NotFoundException; +use App\EconumoBundle\Domain\Repository\AccountRepositoryInterface; use DateTimeInterface; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\DBAL\FetchMode; diff --git a/src/Infrastructure/Doctrine/Repository/BudgetAccessRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetAccessRepository.php similarity index 77% rename from src/Infrastructure/Doctrine/Repository/BudgetAccessRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetAccessRepository.php index 9fc6e313..dc14ec96 100644 --- a/src/Infrastructure/Doctrine/Repository/BudgetAccessRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetAccessRepository.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository; -use App\Domain\Entity\BudgetAccess; -use App\Domain\Entity\User; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Exception\NotFoundException; -use App\Domain\Repository\BudgetAccessRepositoryInterface; -use App\Infrastructure\Doctrine\Repository\Traits\DeleteTrait; -use App\Infrastructure\Doctrine\Repository\Traits\NextIdentityTrait; -use App\Infrastructure\Doctrine\Repository\Traits\SaveTrait; +use App\EconumoBundle\Domain\Entity\BudgetAccess; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Exception\NotFoundException; +use App\EconumoBundle\Domain\Repository\BudgetAccessRepositoryInterface; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\DeleteTrait; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\NextIdentityTrait; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\SaveTrait; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Persistence\ManagerRegistry; diff --git a/src/Infrastructure/Doctrine/Repository/BudgetEntityAmountRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetEntityAmountRepository.php similarity index 80% rename from src/Infrastructure/Doctrine/Repository/BudgetEntityAmountRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetEntityAmountRepository.php index 558583d2..a2582504 100644 --- a/src/Infrastructure/Doctrine/Repository/BudgetEntityAmountRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetEntityAmountRepository.php @@ -2,16 +2,16 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository; -use App\Domain\Entity\Budget; -use App\Domain\Entity\BudgetEntityAmount; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Repository\BudgetEntityAmountRepositoryInterface; -use App\Infrastructure\Doctrine\Repository\Traits\DeleteTrait; -use App\Infrastructure\Doctrine\Repository\Traits\GetEntityReferenceTrait; -use App\Infrastructure\Doctrine\Repository\Traits\NextIdentityTrait; -use App\Infrastructure\Doctrine\Repository\Traits\SaveTrait; +use App\EconumoBundle\Domain\Entity\Budget; +use App\EconumoBundle\Domain\Entity\BudgetEntityAmount; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Repository\BudgetEntityAmountRepositoryInterface; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\DeleteTrait; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\GetEntityReferenceTrait; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\NextIdentityTrait; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\SaveTrait; use DateTimeImmutable; use DateTimeInterface; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; diff --git a/src/Infrastructure/Doctrine/Repository/BudgetEntityOptionRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetEntityOptionRepository.php similarity index 65% rename from src/Infrastructure/Doctrine/Repository/BudgetEntityOptionRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetEntityOptionRepository.php index d0512030..d0ca3d40 100644 --- a/src/Infrastructure/Doctrine/Repository/BudgetEntityOptionRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetEntityOptionRepository.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository; -use App\Domain\Entity\Budget; -use App\Domain\Entity\BudgetEntityOption; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Repository\BudgetEntityOptionRepositoryInterface; -use App\Infrastructure\Doctrine\Repository\Traits\DeleteTrait; -use App\Infrastructure\Doctrine\Repository\Traits\NextIdentityTrait; -use App\Infrastructure\Doctrine\Repository\Traits\SaveTrait; +use App\EconumoBundle\Domain\Entity\Budget; +use App\EconumoBundle\Domain\Entity\BudgetEntityOption; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Repository\BudgetEntityOptionRepositoryInterface; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\DeleteTrait; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\NextIdentityTrait; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\SaveTrait; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Persistence\ManagerRegistry; diff --git a/src/Infrastructure/Doctrine/Repository/BudgetEnvelopeRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetEnvelopeRepository.php similarity index 71% rename from src/Infrastructure/Doctrine/Repository/BudgetEnvelopeRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetEnvelopeRepository.php index b43f8e76..fea333e5 100644 --- a/src/Infrastructure/Doctrine/Repository/BudgetEnvelopeRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetEnvelopeRepository.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository; -use App\Domain\Entity\Budget; -use App\Domain\Entity\BudgetEnvelope; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Exception\NotFoundException; -use App\Domain\Repository\BudgetEnvelopeRepositoryInterface; -use App\Infrastructure\Doctrine\Repository\Traits\DeleteTrait; -use App\Infrastructure\Doctrine\Repository\Traits\GetEntityReferenceTrait; -use App\Infrastructure\Doctrine\Repository\Traits\NextIdentityTrait; -use App\Infrastructure\Doctrine\Repository\Traits\SaveTrait; +use App\EconumoBundle\Domain\Entity\Budget; +use App\EconumoBundle\Domain\Entity\BudgetEnvelope; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Exception\NotFoundException; +use App\EconumoBundle\Domain\Repository\BudgetEnvelopeRepositoryInterface; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\DeleteTrait; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\GetEntityReferenceTrait; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\NextIdentityTrait; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\SaveTrait; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Persistence\ManagerRegistry; diff --git a/src/Infrastructure/Doctrine/Repository/BudgetFolderRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetFolderRepository.php similarity index 67% rename from src/Infrastructure/Doctrine/Repository/BudgetFolderRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetFolderRepository.php index 5b03efd3..5250a04f 100644 --- a/src/Infrastructure/Doctrine/Repository/BudgetFolderRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetFolderRepository.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository; -use App\Domain\Entity\Budget; -use App\Domain\Entity\BudgetFolder; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Repository\BudgetFolderRepositoryInterface; -use App\Infrastructure\Doctrine\Repository\Traits\DeleteTrait; -use App\Infrastructure\Doctrine\Repository\Traits\NextIdentityTrait; -use App\Infrastructure\Doctrine\Repository\Traits\SaveTrait; +use App\EconumoBundle\Domain\Entity\Budget; +use App\EconumoBundle\Domain\Entity\BudgetFolder; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Repository\BudgetFolderRepositoryInterface; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\DeleteTrait; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\NextIdentityTrait; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\SaveTrait; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Persistence\ManagerRegistry; diff --git a/src/Infrastructure/Doctrine/Repository/BudgetRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetRepository.php similarity index 68% rename from src/Infrastructure/Doctrine/Repository/BudgetRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetRepository.php index 64386eef..2500d8a5 100644 --- a/src/Infrastructure/Doctrine/Repository/BudgetRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/BudgetRepository.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository; -use App\Domain\Entity\Budget; -use App\Domain\Entity\User; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Exception\NotFoundException; -use App\Domain\Repository\BudgetAccessRepositoryInterface; -use App\Domain\Repository\BudgetRepositoryInterface; -use App\Infrastructure\Doctrine\Repository\Traits\DeleteTrait; -use App\Infrastructure\Doctrine\Repository\Traits\GetEntityReferenceTrait; -use App\Infrastructure\Doctrine\Repository\Traits\NextIdentityTrait; -use App\Infrastructure\Doctrine\Repository\Traits\SaveTrait; +use App\EconumoBundle\Domain\Entity\Budget; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Exception\NotFoundException; +use App\EconumoBundle\Domain\Repository\BudgetAccessRepositoryInterface; +use App\EconumoBundle\Domain\Repository\BudgetRepositoryInterface; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\DeleteTrait; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\GetEntityReferenceTrait; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\NextIdentityTrait; +use App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits\SaveTrait; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Persistence\ManagerRegistry; diff --git a/src/Infrastructure/Doctrine/Repository/CategoryRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/CategoryRepository.php similarity index 88% rename from src/Infrastructure/Doctrine/Repository/CategoryRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/CategoryRepository.php index dbd9a1b7..7dee9c1f 100644 --- a/src/Infrastructure/Doctrine/Repository/CategoryRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/CategoryRepository.php @@ -1,13 +1,13 @@ getEntityManager()->createQuery($dql) diff --git a/src/Infrastructure/Doctrine/Repository/ConnectionInviteRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/ConnectionInviteRepository.php similarity index 83% rename from src/Infrastructure/Doctrine/Repository/ConnectionInviteRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/ConnectionInviteRepository.php index 15382b82..b79b9bde 100644 --- a/src/Infrastructure/Doctrine/Repository/ConnectionInviteRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/ConnectionInviteRepository.php @@ -1,14 +1,14 @@ getEntityManager()->createQuery($dql) diff --git a/src/Infrastructure/Doctrine/Repository/TagRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/TagRepository.php similarity index 88% rename from src/Infrastructure/Doctrine/Repository/TagRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/TagRepository.php index 465ebdda..732cdcf3 100644 --- a/src/Infrastructure/Doctrine/Repository/TagRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/TagRepository.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository; -use App\Domain\Entity\Tag; -use App\Domain\Entity\User; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Exception\NotFoundException; -use App\Domain\Repository\TagRepositoryInterface; +use App\EconumoBundle\Domain\Entity\Tag; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Exception\NotFoundException; +use App\EconumoBundle\Domain\Repository\TagRepositoryInterface; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Common\Collections\Criteria; use Doctrine\ORM\Exception\ORMException; @@ -44,8 +44,8 @@ public function getNextIdentity(): Id public function findAvailableForUserId(Id $userId): array { $dql = <<<'DQL' -SELECT IDENTITY(a.user) as user_id FROM App\Domain\Entity\AccountAccess aa -JOIN App\Domain\Entity\Account a WITH a = aa.account AND aa.user = :user +SELECT IDENTITY(a.user) as user_id FROM App\EconumoBundle\Domain\Entity\AccountAccess aa +JOIN App\EconumoBundle\Domain\Entity\Account a WITH a = aa.account AND aa.user = :user GROUP BY user_id DQL; $query = $this->getEntityManager()->createQuery($dql) diff --git a/src/Infrastructure/Doctrine/Repository/Traits/DeleteTrait.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/Traits/DeleteTrait.php similarity index 81% rename from src/Infrastructure/Doctrine/Repository/Traits/DeleteTrait.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/Traits/DeleteTrait.php index 90ca35c8..890df651 100644 --- a/src/Infrastructure/Doctrine/Repository/Traits/DeleteTrait.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/Traits/DeleteTrait.php @@ -3,7 +3,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository\Traits; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits; trait DeleteTrait { diff --git a/src/Infrastructure/Doctrine/Repository/Traits/GetEntityReferenceTrait.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/Traits/GetEntityReferenceTrait.php similarity index 64% rename from src/Infrastructure/Doctrine/Repository/Traits/GetEntityReferenceTrait.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/Traits/GetEntityReferenceTrait.php index 14e7bf88..fa6afc16 100644 --- a/src/Infrastructure/Doctrine/Repository/Traits/GetEntityReferenceTrait.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/Traits/GetEntityReferenceTrait.php @@ -3,9 +3,9 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository\Traits; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits; -use App\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; trait GetEntityReferenceTrait { diff --git a/src/Infrastructure/Doctrine/Repository/Traits/NextIdentityTrait.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/Traits/NextIdentityTrait.php similarity index 69% rename from src/Infrastructure/Doctrine/Repository/Traits/NextIdentityTrait.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/Traits/NextIdentityTrait.php index 56947c8d..05223ec9 100644 --- a/src/Infrastructure/Doctrine/Repository/Traits/NextIdentityTrait.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/Traits/NextIdentityTrait.php @@ -3,10 +3,10 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository\Traits; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits; -use App\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; use Ramsey\Uuid\Uuid; trait NextIdentityTrait diff --git a/src/Infrastructure/Doctrine/Repository/Traits/SaveTrait.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/Traits/SaveTrait.php similarity index 89% rename from src/Infrastructure/Doctrine/Repository/Traits/SaveTrait.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/Traits/SaveTrait.php index 54ffd427..f1942795 100644 --- a/src/Infrastructure/Doctrine/Repository/Traits/SaveTrait.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/Traits/SaveTrait.php @@ -3,7 +3,7 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository\Traits; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository\Traits; use Doctrine\ORM\Exception\ORMException; use Doctrine\ORM\ORMInvalidArgumentException; diff --git a/src/Infrastructure/Doctrine/Repository/TransactionRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/TransactionRepository.php similarity index 93% rename from src/Infrastructure/Doctrine/Repository/TransactionRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/TransactionRepository.php index 7b2ab1e5..3423c495 100644 --- a/src/Infrastructure/Doctrine/Repository/TransactionRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/TransactionRepository.php @@ -2,15 +2,15 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository; -use App\Domain\Entity\Account; -use App\Domain\Entity\Category; -use App\Domain\Entity\Transaction; -use App\Domain\Entity\User; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Exception\NotFoundException; -use App\Domain\Repository\TransactionRepositoryInterface; +use App\EconumoBundle\Domain\Entity\Account; +use App\EconumoBundle\Domain\Entity\Category; +use App\EconumoBundle\Domain\Entity\Transaction; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Exception\NotFoundException; +use App\EconumoBundle\Domain\Repository\TransactionRepositoryInterface; use DateTimeInterface; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\Common\Collections\Criteria; @@ -98,12 +98,12 @@ public function findAvailableForUserId( ): array { $sharedAccountsQuery = $this->getEntityManager() - ->createQuery('SELECT IDENTITY(aa.account) as accountId FROM App\Domain\Entity\AccountAccess aa WHERE aa.user = :user') + ->createQuery('SELECT IDENTITY(aa.account) as accountId FROM App\EconumoBundle\Domain\Entity\AccountAccess aa WHERE aa.user = :user') ->setParameter('user', $this->getEntityManager()->getReference(User::class, $userId)); $sharedIds = array_column($sharedAccountsQuery->getScalarResult(), 'accountId'); $accountsQuery = $this->getEntityManager() - ->createQuery('SELECT a.id FROM App\Domain\Entity\Account a WHERE a.user = :user') + ->createQuery('SELECT a.id FROM App\EconumoBundle\Domain\Entity\Account a WHERE a.user = :user') ->setParameter('user', $this->getEntityManager()->getReference(User::class, $userId)); $userAccountIds = array_column($accountsQuery->getScalarResult(), 'id'); $accounts = array_map(fn(string $id): ?Account => $this->getEntityManager()->getReference(Account::class, new Id($id)), array_unique([...$sharedIds, ...$userAccountIds])); @@ -154,12 +154,12 @@ public function replaceCategory(Id $oldCategoryId, Id $newCategoryId): void public function findChanges(Id $userId, DateTimeInterface $lastUpdate): array { $sharedAccountsQuery = $this->getEntityManager() - ->createQuery('SELECT IDENTITY(aa.account) as accountId FROM App\Domain\Entity\AccountAccess aa WHERE aa.user = :user') + ->createQuery('SELECT IDENTITY(aa.account) as accountId FROM App\EconumoBundle\Domain\Entity\AccountAccess aa WHERE aa.user = :user') ->setParameter('user', $this->getEntityManager()->getReference(User::class, $userId)); $sharedIds = array_column($sharedAccountsQuery->getScalarResult(), 'accountId'); $accountsQuery = $this->getEntityManager() - ->createQuery('SELECT a.id FROM App\Domain\Entity\Account a WHERE a.user = :user') + ->createQuery('SELECT a.id FROM App\EconumoBundle\Domain\Entity\Account a WHERE a.user = :user') ->setParameter('user', $this->getEntityManager()->getReference(User::class, $userId)); $userAccountIds = array_column($accountsQuery->getScalarResult(), 'id'); $accounts = array_map(fn(string $id): ?Account => $this->getEntityManager()->getReference(Account::class, new Id($id)), array_unique([...$sharedIds, ...$userAccountIds])); diff --git a/src/Infrastructure/Doctrine/Repository/UserOptionRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/UserOptionRepository.php similarity index 87% rename from src/Infrastructure/Doctrine/Repository/UserOptionRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/UserOptionRepository.php index 7fbf917e..94d58829 100644 --- a/src/Infrastructure/Doctrine/Repository/UserOptionRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/UserOptionRepository.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository; -use App\Domain\Entity\User; -use App\Domain\Entity\UserOption; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Repository\UserOptionRepositoryInterface; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\UserOption; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Repository\UserOptionRepositoryInterface; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\ORM\Exception\ORMException; use Doctrine\ORM\ORMInvalidArgumentException; diff --git a/src/Infrastructure/Doctrine/Repository/UserPasswordRequestRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/UserPasswordRequestRepository.php similarity index 87% rename from src/Infrastructure/Doctrine/Repository/UserPasswordRequestRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/UserPasswordRequestRepository.php index 7d010345..401c668c 100644 --- a/src/Infrastructure/Doctrine/Repository/UserPasswordRequestRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/UserPasswordRequestRepository.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository; -use App\Domain\Entity\User; -use App\Domain\Entity\UserPasswordRequest; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Entity\ValueObject\UserPasswordRequestCode; -use App\Domain\Exception\NotFoundException; -use App\Domain\Repository\UserPasswordRequestRepositoryInterface; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\UserPasswordRequest; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Entity\ValueObject\UserPasswordRequestCode; +use App\EconumoBundle\Domain\Exception\NotFoundException; +use App\EconumoBundle\Domain\Repository\UserPasswordRequestRepositoryInterface; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\ORM\Exception\ORMException; use Doctrine\ORM\ORMInvalidArgumentException; diff --git a/src/Infrastructure/Doctrine/Repository/UserRepository.php b/src/EconumoBundle/Infrastructure/Doctrine/Repository/UserRepository.php similarity index 88% rename from src/Infrastructure/Doctrine/Repository/UserRepository.php rename to src/EconumoBundle/Infrastructure/Doctrine/Repository/UserRepository.php index c0063a20..c3ae2ace 100644 --- a/src/Infrastructure/Doctrine/Repository/UserRepository.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Repository/UserRepository.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace App\Infrastructure\Doctrine\Repository; - -use App\Domain\Entity\User; -use App\Domain\Entity\ValueObject\Email; -use App\Domain\Entity\ValueObject\Id; -use App\Domain\Entity\ValueObject\Identifier; -use App\Domain\Exception\NotFoundException; -use App\Domain\Repository\UserRepositoryInterface; +namespace App\EconumoBundle\Infrastructure\Doctrine\Repository; + +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\ValueObject\Email; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Entity\ValueObject\Identifier; +use App\EconumoBundle\Domain\Exception\NotFoundException; +use App\EconumoBundle\Domain\Repository\UserRepositoryInterface; use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository; use Doctrine\ORM\Exception\ORMException; use Doctrine\ORM\ORMInvalidArgumentException; diff --git a/src/Infrastructure/Doctrine/Type/AccountNameType.php b/src/EconumoBundle/Infrastructure/Doctrine/Type/AccountNameType.php similarity index 73% rename from src/Infrastructure/Doctrine/Type/AccountNameType.php rename to src/EconumoBundle/Infrastructure/Doctrine/Type/AccountNameType.php index 0285ee5b..b0c892dd 100644 --- a/src/Infrastructure/Doctrine/Type/AccountNameType.php +++ b/src/EconumoBundle/Infrastructure/Doctrine/Type/AccountNameType.php @@ -1,9 +1,10 @@ add('startDate', TextType::class, [ + 'constraints' => [new DateTime("Y-m-d")] + ]) + ->add('currencyId', TextType::class, [ + 'constraints' => [new Uuid()] ]); } } diff --git a/src/UI/Controller/Api/Budget/Budget/Validation/DeleteBudgetV1Form.php b/src/EconumoBundle/UI/Controller/Api/Budget/Budget/Validation/DeleteBudgetV1Form.php similarity index 85% rename from src/UI/Controller/Api/Budget/Budget/Validation/DeleteBudgetV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Budget/Budget/Validation/DeleteBudgetV1Form.php index 38f8de24..55e42f92 100644 --- a/src/UI/Controller/Api/Budget/Budget/Validation/DeleteBudgetV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Budget/Budget/Validation/DeleteBudgetV1Form.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Budget\Budget\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Budget\Budget\Validation; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Budget/Budget/Validation/GetBudgetV1Form.php b/src/EconumoBundle/UI/Controller/Api/Budget/Budget/Validation/GetBudgetV1Form.php similarity index 87% rename from src/UI/Controller/Api/Budget/Budget/Validation/GetBudgetV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Budget/Budget/Validation/GetBudgetV1Form.php index 1625364b..a3f980cf 100644 --- a/src/UI/Controller/Api/Budget/Budget/Validation/GetBudgetV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Budget/Budget/Validation/GetBudgetV1Form.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Budget\Budget\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Budget\Budget\Validation; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Budget/Budget/Validation/ResetBudgetV1Form.php b/src/EconumoBundle/UI/Controller/Api/Budget/Budget/Validation/ResetBudgetV1Form.php similarity index 87% rename from src/UI/Controller/Api/Budget/Budget/Validation/ResetBudgetV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Budget/Budget/Validation/ResetBudgetV1Form.php index 3a6ef343..715f0c9d 100644 --- a/src/UI/Controller/Api/Budget/Budget/Validation/ResetBudgetV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Budget/Budget/Validation/ResetBudgetV1Form.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Budget\Budget\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Budget\Budget\Validation; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Budget/Budget/Validation/UpdateBudgetV1Form.php b/src/EconumoBundle/UI/Controller/Api/Budget/Budget/Validation/UpdateBudgetV1Form.php similarity index 85% rename from src/UI/Controller/Api/Budget/Budget/Validation/UpdateBudgetV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Budget/Budget/Validation/UpdateBudgetV1Form.php index ac42b76c..17d9b09d 100644 --- a/src/UI/Controller/Api/Budget/Budget/Validation/UpdateBudgetV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Budget/Budget/Validation/UpdateBudgetV1Form.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Budget\Budget\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Budget\Budget\Validation; -use App\Domain\Entity\ValueObject\BudgetName; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\BudgetName; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Budget/BudgetList/GetBudgetListV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Budget/BudgetList/GetBudgetListV1Controller.php similarity index 75% rename from src/UI/Controller/Api/Budget/BudgetList/GetBudgetListV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Budget/BudgetList/GetBudgetListV1Controller.php index 3a70cd6d..15c0ff14 100644 --- a/src/UI/Controller/Api/Budget/BudgetList/GetBudgetListV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Budget/BudgetList/GetBudgetListV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Budget\BudgetList; +namespace App\EconumoBundle\UI\Controller\Api\Budget\BudgetList; -use App\Application\Budget\BudgetListService; -use App\Application\Budget\Dto\GetBudgetListV1RequestDto; -use App\UI\Controller\Api\Budget\BudgetList\Validation\GetBudgetListV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Budget\BudgetListService; +use App\EconumoBundle\Application\Budget\Dto\GetBudgetListV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Budget\BudgetList\Validation\GetBudgetListV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -38,7 +38,7 @@ public function __construct(private readonly BudgetListService $budgetListServic * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Budget\Dto\GetBudgetListV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Budget\Dto\GetBudgetListV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Budget/BudgetList/Validation/GetBudgetListV1Form.php b/src/EconumoBundle/UI/Controller/Api/Budget/BudgetList/Validation/GetBudgetListV1Form.php similarity index 86% rename from src/UI/Controller/Api/Budget/BudgetList/Validation/GetBudgetListV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Budget/BudgetList/Validation/GetBudgetListV1Form.php index a7180a6f..88251707 100644 --- a/src/UI/Controller/Api/Budget/BudgetList/Validation/GetBudgetListV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Budget/BudgetList/Validation/GetBudgetListV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Budget\BudgetList\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Budget\BudgetList\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Category/Category/ArchiveCategoryV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Category/Category/ArchiveCategoryV1Controller.php similarity index 71% rename from src/UI/Controller/Api/Category/Category/ArchiveCategoryV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Category/Category/ArchiveCategoryV1Controller.php index 1855727f..77c867f6 100644 --- a/src/UI/Controller/Api/Category/Category/ArchiveCategoryV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Category/Category/ArchiveCategoryV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Category\Category; +namespace App\EconumoBundle\UI\Controller\Api\Category\Category; -use App\Application\Category\CategoryService; -use App\Application\Category\Dto\ArchiveCategoryV1RequestDto; -use App\UI\Controller\Api\Category\Category\Validation\ArchiveCategoryV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Category\CategoryService; +use App\EconumoBundle\Application\Category\Dto\ArchiveCategoryV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Category\Category\Validation\ArchiveCategoryV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly CategoryService $categoryService, p * Archive category * * @OA\Tag(name="Category"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Category\Dto\ArchiveCategoryV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Category\Dto\ArchiveCategoryV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly CategoryService $categoryService, p * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Category\Dto\ArchiveCategoryV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Category\Dto\ArchiveCategoryV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Category/Category/CreateCategoryV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Category/Category/CreateCategoryV1Controller.php similarity index 71% rename from src/UI/Controller/Api/Category/Category/CreateCategoryV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Category/Category/CreateCategoryV1Controller.php index 6779f6a2..9fc704b2 100644 --- a/src/UI/Controller/Api/Category/Category/CreateCategoryV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Category/Category/CreateCategoryV1Controller.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Category\Category; +namespace App\EconumoBundle\UI\Controller\Api\Category\Category; -use App\Application\Category\CategoryService; -use App\Application\Category\Dto\CreateCategoryV1RequestDto; -use App\Domain\Entity\User; -use App\Domain\Entity\ValueObject\Id; -use App\UI\Controller\Api\Category\Category\Validation\CreateCategoryV1Form; -use App\Application\Exception\ValidationException; -use App\UI\Service\OperationServiceInterface; +use App\EconumoBundle\Application\Category\CategoryService; +use App\EconumoBundle\Application\Category\Dto\CreateCategoryV1RequestDto; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\UI\Controller\Api\Category\Category\Validation\CreateCategoryV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\UI\Service\OperationServiceInterface; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -30,7 +30,7 @@ public function __construct(private readonly CategoryService $categoryService, p * Create Category * * @OA\Tag(name="Category"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Category\Dto\CreateCategoryV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Category\Dto\CreateCategoryV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -41,7 +41,7 @@ public function __construct(private readonly CategoryService $categoryService, p * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Category\Dto\CreateCategoryV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Category\Dto\CreateCategoryV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Category/Category/DeleteCategoryV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Category/Category/DeleteCategoryV1Controller.php similarity index 72% rename from src/UI/Controller/Api/Category/Category/DeleteCategoryV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Category/Category/DeleteCategoryV1Controller.php index fb0af335..214bfcd2 100644 --- a/src/UI/Controller/Api/Category/Category/DeleteCategoryV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Category/Category/DeleteCategoryV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Category\Category; +namespace App\EconumoBundle\UI\Controller\Api\Category\Category; -use App\Application\Category\CategoryService; -use App\Application\Category\Dto\DeleteCategoryV1RequestDto; -use App\UI\Controller\Api\Category\Category\Validation\DeleteCategoryV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Category\CategoryService; +use App\EconumoBundle\Application\Category\Dto\DeleteCategoryV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Category\Category\Validation\DeleteCategoryV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly CategoryService $categoryService, p * Delete category * * @OA\Tag(name="Category"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Category\Dto\DeleteCategoryV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Category\Dto\DeleteCategoryV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly CategoryService $categoryService, p * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Category\Dto\DeleteCategoryV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Category\Dto\DeleteCategoryV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Category/Category/UnarchiveCategoryV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Category/Category/UnarchiveCategoryV1Controller.php similarity index 71% rename from src/UI/Controller/Api/Category/Category/UnarchiveCategoryV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Category/Category/UnarchiveCategoryV1Controller.php index 966922e4..b579c4c6 100644 --- a/src/UI/Controller/Api/Category/Category/UnarchiveCategoryV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Category/Category/UnarchiveCategoryV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Category\Category; +namespace App\EconumoBundle\UI\Controller\Api\Category\Category; -use App\Application\Category\CategoryService; -use App\Application\Category\Dto\UnarchiveCategoryV1RequestDto; -use App\UI\Controller\Api\Category\Category\Validation\UnarchiveCategoryV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Category\CategoryService; +use App\EconumoBundle\Application\Category\Dto\UnarchiveCategoryV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Category\Category\Validation\UnarchiveCategoryV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly CategoryService $categoryService, p * Unarchive category * * @OA\Tag(name="Category"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Category\Dto\UnarchiveCategoryV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Category\Dto\UnarchiveCategoryV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly CategoryService $categoryService, p * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Category\Dto\UnarchiveCategoryV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Category\Dto\UnarchiveCategoryV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Category/Category/UpdateCategoryV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Category/Category/UpdateCategoryV1Controller.php similarity index 72% rename from src/UI/Controller/Api/Category/Category/UpdateCategoryV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Category/Category/UpdateCategoryV1Controller.php index f3f6d210..d7576ade 100644 --- a/src/UI/Controller/Api/Category/Category/UpdateCategoryV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Category/Category/UpdateCategoryV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Category\Category; +namespace App\EconumoBundle\UI\Controller\Api\Category\Category; -use App\Application\Category\CategoryService; -use App\Application\Category\Dto\UpdateCategoryV1RequestDto; -use App\UI\Controller\Api\Category\Category\Validation\UpdateCategoryV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Category\CategoryService; +use App\EconumoBundle\Application\Category\Dto\UpdateCategoryV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Category\Category\Validation\UpdateCategoryV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly CategoryService $categoryService, p * Update category * * @OA\Tag(name="Category"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Category\Dto\UpdateCategoryV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Category\Dto\UpdateCategoryV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly CategoryService $categoryService, p * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Category\Dto\UpdateCategoryV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Category\Dto\UpdateCategoryV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Category/Category/Validation/ArchiveCategoryV1Form.php b/src/EconumoBundle/UI/Controller/Api/Category/Category/Validation/ArchiveCategoryV1Form.php similarity index 90% rename from src/UI/Controller/Api/Category/Category/Validation/ArchiveCategoryV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Category/Category/Validation/ArchiveCategoryV1Form.php index 1f8173c8..b9b787e9 100644 --- a/src/UI/Controller/Api/Category/Category/Validation/ArchiveCategoryV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Category/Category/Validation/ArchiveCategoryV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Category\Category\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Category\Category\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/Category/Category/Validation/CreateCategoryV1Form.php b/src/EconumoBundle/UI/Controller/Api/Category/Category/Validation/CreateCategoryV1Form.php similarity index 85% rename from src/UI/Controller/Api/Category/Category/Validation/CreateCategoryV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Category/Category/Validation/CreateCategoryV1Form.php index 3acec687..d8b2b5cc 100644 --- a/src/UI/Controller/Api/Category/Category/Validation/CreateCategoryV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Category/Category/Validation/CreateCategoryV1Form.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Category\Category\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Category\Category\Validation; -use App\Domain\Entity\ValueObject\CategoryName; -use App\Infrastructure\Symfony\Form\Constraints\OperationId; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\CategoryName; +use App\EconumoBundle\Infrastructure\Symfony\Form\Constraints\OperationId; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/Category/Category/Validation/DeleteCategoryV1Form.php b/src/EconumoBundle/UI/Controller/Api/Category/Category/Validation/DeleteCategoryV1Form.php similarity index 93% rename from src/UI/Controller/Api/Category/Category/Validation/DeleteCategoryV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Category/Category/Validation/DeleteCategoryV1Form.php index ebfb2e57..3494f1ce 100644 --- a/src/UI/Controller/Api/Category/Category/Validation/DeleteCategoryV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Category/Category/Validation/DeleteCategoryV1Form.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Category\Category\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Category\Category\Validation; -use App\Application\Category\Dto\DeleteCategoryV1RequestDto; +use App\EconumoBundle\Application\Category\Dto\DeleteCategoryV1RequestDto; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/Category/Category/Validation/UnarchiveCategoryV1Form.php b/src/EconumoBundle/UI/Controller/Api/Category/Category/Validation/UnarchiveCategoryV1Form.php similarity index 90% rename from src/UI/Controller/Api/Category/Category/Validation/UnarchiveCategoryV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Category/Category/Validation/UnarchiveCategoryV1Form.php index 218ee6aa..e126307e 100644 --- a/src/UI/Controller/Api/Category/Category/Validation/UnarchiveCategoryV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Category/Category/Validation/UnarchiveCategoryV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Category\Category\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Category\Category\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/Category/Category/Validation/UpdateCategoryV1Form.php b/src/EconumoBundle/UI/Controller/Api/Category/Category/Validation/UpdateCategoryV1Form.php similarity index 80% rename from src/UI/Controller/Api/Category/Category/Validation/UpdateCategoryV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Category/Category/Validation/UpdateCategoryV1Form.php index 9b03d827..b782828d 100644 --- a/src/UI/Controller/Api/Category/Category/Validation/UpdateCategoryV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Category/Category/Validation/UpdateCategoryV1Form.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Category\Category\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Category\Category\Validation; -use App\Domain\Entity\ValueObject\CategoryName; -use App\Domain\Entity\ValueObject\Icon; -use App\Infrastructure\Symfony\Form\Constraints\OperationId; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\CategoryName; +use App\EconumoBundle\Domain\Entity\ValueObject\Icon; +use App\EconumoBundle\Infrastructure\Symfony\Form\Constraints\OperationId; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Category/CategoryList/GetCategoryListV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Category/CategoryList/GetCategoryListV1Controller.php similarity index 75% rename from src/UI/Controller/Api/Category/CategoryList/GetCategoryListV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Category/CategoryList/GetCategoryListV1Controller.php index 28cbcc38..a7de9eb5 100644 --- a/src/UI/Controller/Api/Category/CategoryList/GetCategoryListV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Category/CategoryList/GetCategoryListV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Category\CategoryList; +namespace App\EconumoBundle\UI\Controller\Api\Category\CategoryList; -use App\Application\Category\CategoryListService; -use App\Application\Category\Dto\GetCategoryListV1RequestDto; -use App\UI\Controller\Api\Category\CategoryList\Validation\GetCategoryListV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Category\CategoryListService; +use App\EconumoBundle\Application\Category\Dto\GetCategoryListV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Category\CategoryList\Validation\GetCategoryListV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -38,7 +38,7 @@ public function __construct(private readonly CategoryListService $categoryListSe * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Category\Dto\GetCategoryListV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Category\Dto\GetCategoryListV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Category/CategoryList/OrderCategoryListV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Category/CategoryList/OrderCategoryListV1Controller.php similarity index 71% rename from src/UI/Controller/Api/Category/CategoryList/OrderCategoryListV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Category/CategoryList/OrderCategoryListV1Controller.php index 50bf4a8f..07600ebc 100644 --- a/src/UI/Controller/Api/Category/CategoryList/OrderCategoryListV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Category/CategoryList/OrderCategoryListV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Category\CategoryList; +namespace App\EconumoBundle\UI\Controller\Api\Category\CategoryList; -use App\Application\Category\CategoryListService; -use App\Application\Category\Dto\OrderCategoryListV1RequestDto; -use App\UI\Controller\Api\Category\CategoryList\Validation\OrderCategoryListV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Category\CategoryListService; +use App\EconumoBundle\Application\Category\Dto\OrderCategoryListV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Category\CategoryList\Validation\OrderCategoryListV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly CategoryListService $categoryListSe * Order categoryList * * @OA\Tag(name="Category"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Category\Dto\OrderCategoryListV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Category\Dto\OrderCategoryListV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly CategoryListService $categoryListSe * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Category\Dto\OrderCategoryListV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Category\Dto\OrderCategoryListV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Category/CategoryList/Validation/GetCategoryListV1Form.php b/src/EconumoBundle/UI/Controller/Api/Category/CategoryList/Validation/GetCategoryListV1Form.php similarity index 85% rename from src/UI/Controller/Api/Category/CategoryList/Validation/GetCategoryListV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Category/CategoryList/Validation/GetCategoryListV1Form.php index 5d4d1d72..cda5a9e6 100644 --- a/src/UI/Controller/Api/Category/CategoryList/Validation/GetCategoryListV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Category/CategoryList/Validation/GetCategoryListV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Category\CategoryList\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Category\CategoryList\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Category/CategoryList/Validation/OrderCategoryListV1Form.php b/src/EconumoBundle/UI/Controller/Api/Category/CategoryList/Validation/OrderCategoryListV1Form.php similarity index 84% rename from src/UI/Controller/Api/Category/CategoryList/Validation/OrderCategoryListV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Category/CategoryList/Validation/OrderCategoryListV1Form.php index 2eb65186..0d772eff 100644 --- a/src/UI/Controller/Api/Category/CategoryList/Validation/OrderCategoryListV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Category/CategoryList/Validation/OrderCategoryListV1Form.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Category\CategoryList\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Category\CategoryList\Validation; -use App\Infrastructure\Symfony\Form\Type\PositionType; +use App\EconumoBundle\Infrastructure\Symfony\Form\Type\PositionType; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\CollectionType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Connection/AccountAccess/RevokeAccountAccessV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Connection/AccountAccess/RevokeAccountAccessV1Controller.php similarity index 71% rename from src/UI/Controller/Api/Connection/AccountAccess/RevokeAccountAccessV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Connection/AccountAccess/RevokeAccountAccessV1Controller.php index 37f11e7e..d99d08a5 100644 --- a/src/UI/Controller/Api/Connection/AccountAccess/RevokeAccountAccessV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Connection/AccountAccess/RevokeAccountAccessV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Connection\AccountAccess; +namespace App\EconumoBundle\UI\Controller\Api\Connection\AccountAccess; -use App\Application\Connection\AccountAccessService; -use App\Application\Connection\Dto\RevokeAccountAccessV1RequestDto; -use App\UI\Controller\Api\Connection\AccountAccess\Validation\RevokeAccountAccessV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Connection\AccountAccessService; +use App\EconumoBundle\Application\Connection\Dto\RevokeAccountAccessV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Connection\AccountAccess\Validation\RevokeAccountAccessV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly AccountAccessService $accountAccess * Revoke accountAccess * * @OA\Tag(name="Connection"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Connection\Dto\RevokeAccountAccessV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Connection\Dto\RevokeAccountAccessV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly AccountAccessService $accountAccess * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Connection\Dto\RevokeAccountAccessV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Connection\Dto\RevokeAccountAccessV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Connection/AccountAccess/SetAccountAccessV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Connection/AccountAccess/SetAccountAccessV1Controller.php similarity index 71% rename from src/UI/Controller/Api/Connection/AccountAccess/SetAccountAccessV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Connection/AccountAccess/SetAccountAccessV1Controller.php index 72bf6a40..1c3b702b 100644 --- a/src/UI/Controller/Api/Connection/AccountAccess/SetAccountAccessV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Connection/AccountAccess/SetAccountAccessV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Connection\AccountAccess; +namespace App\EconumoBundle\UI\Controller\Api\Connection\AccountAccess; -use App\Application\Connection\AccountAccessService; -use App\Application\Connection\Dto\SetAccountAccessV1RequestDto; -use App\UI\Controller\Api\Connection\AccountAccess\Validation\SetAccountAccessV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Connection\AccountAccessService; +use App\EconumoBundle\Application\Connection\Dto\SetAccountAccessV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Connection\AccountAccess\Validation\SetAccountAccessV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly AccountAccessService $accountAccess * Set accountAccess * * @OA\Tag(name="Connection"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Connection\Dto\SetAccountAccessV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Connection\Dto\SetAccountAccessV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly AccountAccessService $accountAccess * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Connection\Dto\SetAccountAccessV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Connection\Dto\SetAccountAccessV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Connection/AccountAccess/Validation/RevokeAccountAccessV1Form.php b/src/EconumoBundle/UI/Controller/Api/Connection/AccountAccess/Validation/RevokeAccountAccessV1Form.php similarity index 91% rename from src/UI/Controller/Api/Connection/AccountAccess/Validation/RevokeAccountAccessV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Connection/AccountAccess/Validation/RevokeAccountAccessV1Form.php index fd102462..48d07a32 100644 --- a/src/UI/Controller/Api/Connection/AccountAccess/Validation/RevokeAccountAccessV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Connection/AccountAccess/Validation/RevokeAccountAccessV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Connection\AccountAccess\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Connection\AccountAccess\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/Connection/AccountAccess/Validation/SetAccountAccessV1Form.php b/src/EconumoBundle/UI/Controller/Api/Connection/AccountAccess/Validation/SetAccountAccessV1Form.php similarity index 83% rename from src/UI/Controller/Api/Connection/AccountAccess/Validation/SetAccountAccessV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Connection/AccountAccess/Validation/SetAccountAccessV1Form.php index 511aff19..8a21a762 100644 --- a/src/UI/Controller/Api/Connection/AccountAccess/Validation/SetAccountAccessV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Connection/AccountAccess/Validation/SetAccountAccessV1Form.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Connection\AccountAccess\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Connection\AccountAccess\Validation; -use App\Domain\Entity\ValueObject\AccountUserRole; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\AccountUserRole; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Connection/Connection/DeleteConnectionV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Connection/Connection/DeleteConnectionV1Controller.php similarity index 71% rename from src/UI/Controller/Api/Connection/Connection/DeleteConnectionV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Connection/Connection/DeleteConnectionV1Controller.php index 9a2e1fc5..c5d8f79f 100644 --- a/src/UI/Controller/Api/Connection/Connection/DeleteConnectionV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Connection/Connection/DeleteConnectionV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Connection\Connection; +namespace App\EconumoBundle\UI\Controller\Api\Connection\Connection; -use App\Application\Connection\ConnectionService; -use App\Application\Connection\Dto\DeleteConnectionV1RequestDto; -use App\UI\Controller\Api\Connection\Connection\Validation\DeleteConnectionV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Connection\ConnectionService; +use App\EconumoBundle\Application\Connection\Dto\DeleteConnectionV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Connection\Connection\Validation\DeleteConnectionV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly ConnectionService $connectionServic * Delete connection * * @OA\Tag(name="Connection"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Connection\Dto\DeleteConnectionV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Connection\Dto\DeleteConnectionV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly ConnectionService $connectionServic * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Connection\Dto\DeleteConnectionV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Connection\Dto\DeleteConnectionV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Connection/Connection/Validation/DeleteConnectionV1Form.php b/src/EconumoBundle/UI/Controller/Api/Connection/Connection/Validation/DeleteConnectionV1Form.php similarity index 82% rename from src/UI/Controller/Api/Connection/Connection/Validation/DeleteConnectionV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Connection/Connection/Validation/DeleteConnectionV1Form.php index 142f7496..db9867a3 100644 --- a/src/UI/Controller/Api/Connection/Connection/Validation/DeleteConnectionV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Connection/Connection/Validation/DeleteConnectionV1Form.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Connection\Connection\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Connection\Connection\Validation; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Connection/ConnectionList/GetConnectionListV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Connection/ConnectionList/GetConnectionListV1Controller.php similarity index 75% rename from src/UI/Controller/Api/Connection/ConnectionList/GetConnectionListV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Connection/ConnectionList/GetConnectionListV1Controller.php index 41791fcb..d76c1ee9 100644 --- a/src/UI/Controller/Api/Connection/ConnectionList/GetConnectionListV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Connection/ConnectionList/GetConnectionListV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Connection\ConnectionList; +namespace App\EconumoBundle\UI\Controller\Api\Connection\ConnectionList; -use App\Application\Connection\ConnectionListService; -use App\Application\Connection\Dto\GetConnectionListV1RequestDto; -use App\UI\Controller\Api\Connection\ConnectionList\Validation\GetConnectionListV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Connection\ConnectionListService; +use App\EconumoBundle\Application\Connection\Dto\GetConnectionListV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Connection\ConnectionList\Validation\GetConnectionListV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -38,7 +38,7 @@ public function __construct(private readonly ConnectionListService $connectionLi * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Connection\Dto\GetConnectionListV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Connection\Dto\GetConnectionListV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Connection/ConnectionList/Validation/GetConnectionListV1Form.php b/src/EconumoBundle/UI/Controller/Api/Connection/ConnectionList/Validation/GetConnectionListV1Form.php similarity index 84% rename from src/UI/Controller/Api/Connection/ConnectionList/Validation/GetConnectionListV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Connection/ConnectionList/Validation/GetConnectionListV1Form.php index 77b4f0fc..ba38e276 100644 --- a/src/UI/Controller/Api/Connection/ConnectionList/Validation/GetConnectionListV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Connection/ConnectionList/Validation/GetConnectionListV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Connection\ConnectionList\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Connection\ConnectionList\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Connection/Invite/AcceptInviteV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Connection/Invite/AcceptInviteV1Controller.php similarity index 71% rename from src/UI/Controller/Api/Connection/Invite/AcceptInviteV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Connection/Invite/AcceptInviteV1Controller.php index 56b15d44..e8feb6c3 100644 --- a/src/UI/Controller/Api/Connection/Invite/AcceptInviteV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Connection/Invite/AcceptInviteV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Connection\Invite; +namespace App\EconumoBundle\UI\Controller\Api\Connection\Invite; -use App\Application\Connection\InviteService; -use App\Application\Connection\Dto\AcceptInviteV1RequestDto; -use App\UI\Controller\Api\Connection\Invite\Validation\AcceptInviteV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Connection\InviteService; +use App\EconumoBundle\Application\Connection\Dto\AcceptInviteV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Connection\Invite\Validation\AcceptInviteV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly InviteService $inviteService, priva * Accept invite * * @OA\Tag(name="Connection"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Connection\Dto\AcceptInviteV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Connection\Dto\AcceptInviteV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly InviteService $inviteService, priva * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Connection\Dto\AcceptInviteV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Connection\Dto\AcceptInviteV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Connection/Invite/DeleteInviteV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Connection/Invite/DeleteInviteV1Controller.php similarity index 71% rename from src/UI/Controller/Api/Connection/Invite/DeleteInviteV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Connection/Invite/DeleteInviteV1Controller.php index c77d6913..640d2642 100644 --- a/src/UI/Controller/Api/Connection/Invite/DeleteInviteV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Connection/Invite/DeleteInviteV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Connection\Invite; +namespace App\EconumoBundle\UI\Controller\Api\Connection\Invite; -use App\Application\Connection\InviteService; -use App\Application\Connection\Dto\DeleteInviteV1RequestDto; -use App\UI\Controller\Api\Connection\Invite\Validation\DeleteInviteV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Connection\InviteService; +use App\EconumoBundle\Application\Connection\Dto\DeleteInviteV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Connection\Invite\Validation\DeleteInviteV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly InviteService $inviteService, priva * Delete invite * * @OA\Tag(name="Connection"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Connection\Dto\DeleteInviteV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Connection\Dto\DeleteInviteV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly InviteService $inviteService, priva * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Connection\Dto\DeleteInviteV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Connection\Dto\DeleteInviteV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Connection/Invite/GenerateInviteV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Connection/Invite/GenerateInviteV1Controller.php similarity index 71% rename from src/UI/Controller/Api/Connection/Invite/GenerateInviteV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Connection/Invite/GenerateInviteV1Controller.php index 34d32c3f..71ecaf40 100644 --- a/src/UI/Controller/Api/Connection/Invite/GenerateInviteV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Connection/Invite/GenerateInviteV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Connection\Invite; +namespace App\EconumoBundle\UI\Controller\Api\Connection\Invite; -use App\Application\Connection\InviteService; -use App\Application\Connection\Dto\GenerateInviteV1RequestDto; -use App\UI\Controller\Api\Connection\Invite\Validation\GenerateInviteV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Connection\InviteService; +use App\EconumoBundle\Application\Connection\Dto\GenerateInviteV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Connection\Invite\Validation\GenerateInviteV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly InviteService $inviteService, priva * Generate invite * * @OA\Tag(name="Connection"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Connection\Dto\GenerateInviteV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Connection\Dto\GenerateInviteV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly InviteService $inviteService, priva * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Connection\Dto\GenerateInviteV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Connection\Dto\GenerateInviteV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Connection/Invite/Validation/AcceptInviteV1Form.php b/src/EconumoBundle/UI/Controller/Api/Connection/Invite/Validation/AcceptInviteV1Form.php similarity index 80% rename from src/UI/Controller/Api/Connection/Invite/Validation/AcceptInviteV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Connection/Invite/Validation/AcceptInviteV1Form.php index db451e88..2a5aa381 100644 --- a/src/UI/Controller/Api/Connection/Invite/Validation/AcceptInviteV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Connection/Invite/Validation/AcceptInviteV1Form.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Connection\Invite\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Connection\Invite\Validation; -use App\Domain\Entity\ValueObject\ConnectionCode; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\ConnectionCode; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Connection/Invite/Validation/DeleteInviteV1Form.php b/src/EconumoBundle/UI/Controller/Api/Connection/Invite/Validation/DeleteInviteV1Form.php similarity index 86% rename from src/UI/Controller/Api/Connection/Invite/Validation/DeleteInviteV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Connection/Invite/Validation/DeleteInviteV1Form.php index 9e560587..cc6966c6 100644 --- a/src/UI/Controller/Api/Connection/Invite/Validation/DeleteInviteV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Connection/Invite/Validation/DeleteInviteV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Connection\Invite\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Connection\Invite\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Connection/Invite/Validation/GenerateInviteV1Form.php b/src/EconumoBundle/UI/Controller/Api/Connection/Invite/Validation/GenerateInviteV1Form.php similarity index 86% rename from src/UI/Controller/Api/Connection/Invite/Validation/GenerateInviteV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Connection/Invite/Validation/GenerateInviteV1Form.php index 92775f42..e7fbcbb0 100644 --- a/src/UI/Controller/Api/Connection/Invite/Validation/GenerateInviteV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Connection/Invite/Validation/GenerateInviteV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Connection\Invite\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Connection\Invite\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Currency/CurrencyList/GetCurrencyListV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Currency/CurrencyList/GetCurrencyListV1Controller.php similarity index 75% rename from src/UI/Controller/Api/Currency/CurrencyList/GetCurrencyListV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Currency/CurrencyList/GetCurrencyListV1Controller.php index 04fde782..e8afc2c3 100644 --- a/src/UI/Controller/Api/Currency/CurrencyList/GetCurrencyListV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Currency/CurrencyList/GetCurrencyListV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Currency\CurrencyList; +namespace App\EconumoBundle\UI\Controller\Api\Currency\CurrencyList; -use App\Application\Currency\CurrencyListService; -use App\Application\Currency\Dto\GetCurrencyListV1RequestDto; -use App\UI\Controller\Api\Currency\CurrencyList\Validation\GetCurrencyListV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Currency\CurrencyListService; +use App\EconumoBundle\Application\Currency\Dto\GetCurrencyListV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Currency\CurrencyList\Validation\GetCurrencyListV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -38,7 +38,7 @@ public function __construct(private readonly CurrencyListService $currencyListSe * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Currency\Dto\GetCurrencyListV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Currency\Dto\GetCurrencyListV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Currency/CurrencyList/Validation/GetCurrencyListV1Form.php b/src/EconumoBundle/UI/Controller/Api/Currency/CurrencyList/Validation/GetCurrencyListV1Form.php similarity index 85% rename from src/UI/Controller/Api/Currency/CurrencyList/Validation/GetCurrencyListV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Currency/CurrencyList/Validation/GetCurrencyListV1Form.php index 1d4e71dc..69a5737c 100644 --- a/src/UI/Controller/Api/Currency/CurrencyList/Validation/GetCurrencyListV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Currency/CurrencyList/Validation/GetCurrencyListV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Currency\CurrencyList\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Currency\CurrencyList\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Currency/CurrencyRateList/GetCurrencyRateListV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Currency/CurrencyRateList/GetCurrencyRateListV1Controller.php similarity index 75% rename from src/UI/Controller/Api/Currency/CurrencyRateList/GetCurrencyRateListV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Currency/CurrencyRateList/GetCurrencyRateListV1Controller.php index 6dd1d2b8..a9f27e8c 100644 --- a/src/UI/Controller/Api/Currency/CurrencyRateList/GetCurrencyRateListV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Currency/CurrencyRateList/GetCurrencyRateListV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Currency\CurrencyRateList; +namespace App\EconumoBundle\UI\Controller\Api\Currency\CurrencyRateList; -use App\Application\Currency\CurrencyRateListService; -use App\Application\Currency\Dto\GetCurrencyRateListV1RequestDto; -use App\UI\Controller\Api\Currency\CurrencyRateList\Validation\GetCurrencyRateListV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Currency\CurrencyRateListService; +use App\EconumoBundle\Application\Currency\Dto\GetCurrencyRateListV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Currency\CurrencyRateList\Validation\GetCurrencyRateListV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -38,7 +38,7 @@ public function __construct(private readonly CurrencyRateListService $currencyRa * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Currency\Dto\GetCurrencyRateListV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Currency\Dto\GetCurrencyRateListV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Currency/CurrencyRateList/Validation/GetCurrencyRateListV1Form.php b/src/EconumoBundle/UI/Controller/Api/Currency/CurrencyRateList/Validation/GetCurrencyRateListV1Form.php similarity index 85% rename from src/UI/Controller/Api/Currency/CurrencyRateList/Validation/GetCurrencyRateListV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Currency/CurrencyRateList/Validation/GetCurrencyRateListV1Form.php index 757901c6..436675be 100644 --- a/src/UI/Controller/Api/Currency/CurrencyRateList/Validation/GetCurrencyRateListV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Currency/CurrencyRateList/Validation/GetCurrencyRateListV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Currency\CurrencyRateList\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Currency\CurrencyRateList\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Payee/Payee/ArchivePayeeV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/ArchivePayeeV1Controller.php similarity index 72% rename from src/UI/Controller/Api/Payee/Payee/ArchivePayeeV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Payee/Payee/ArchivePayeeV1Controller.php index aed7ceb2..d5451272 100644 --- a/src/UI/Controller/Api/Payee/Payee/ArchivePayeeV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/ArchivePayeeV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Payee\Payee; +namespace App\EconumoBundle\UI\Controller\Api\Payee\Payee; -use App\Application\Payee\PayeeService; -use App\Application\Payee\Dto\ArchivePayeeV1RequestDto; -use App\UI\Controller\Api\Payee\Payee\Validation\ArchivePayeeV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Payee\PayeeService; +use App\EconumoBundle\Application\Payee\Dto\ArchivePayeeV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Payee\Payee\Validation\ArchivePayeeV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly PayeeService $payeeService, private * Archive payee * * @OA\Tag(name="Payee"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Payee\Dto\ArchivePayeeV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Payee\Dto\ArchivePayeeV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly PayeeService $payeeService, private * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Payee\Dto\ArchivePayeeV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Payee\Dto\ArchivePayeeV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Payee/Payee/CreatePayeeV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/CreatePayeeV1Controller.php similarity index 71% rename from src/UI/Controller/Api/Payee/Payee/CreatePayeeV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Payee/Payee/CreatePayeeV1Controller.php index b9f23520..9682f976 100644 --- a/src/UI/Controller/Api/Payee/Payee/CreatePayeeV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/CreatePayeeV1Controller.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Payee\Payee; +namespace App\EconumoBundle\UI\Controller\Api\Payee\Payee; -use App\Application\Payee\PayeeService; -use App\Application\Payee\Dto\CreatePayeeV1RequestDto; -use App\Domain\Entity\User; -use App\Domain\Entity\ValueObject\Id; -use App\UI\Controller\Api\Payee\Payee\Validation\CreatePayeeV1Form; -use App\Application\Exception\ValidationException; -use App\UI\Service\OperationServiceInterface; +use App\EconumoBundle\Application\Payee\PayeeService; +use App\EconumoBundle\Application\Payee\Dto\CreatePayeeV1RequestDto; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\UI\Controller\Api\Payee\Payee\Validation\CreatePayeeV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\UI\Service\OperationServiceInterface; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -30,7 +30,7 @@ public function __construct(private readonly PayeeService $payeeService, private * Create Payee * * @OA\Tag(name="Payee"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Payee\Dto\CreatePayeeV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Payee\Dto\CreatePayeeV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -41,7 +41,7 @@ public function __construct(private readonly PayeeService $payeeService, private * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Payee\Dto\CreatePayeeV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Payee\Dto\CreatePayeeV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Payee/Payee/DeletePayeeV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/DeletePayeeV1Controller.php similarity index 72% rename from src/UI/Controller/Api/Payee/Payee/DeletePayeeV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Payee/Payee/DeletePayeeV1Controller.php index cfb7cdb9..4d109886 100644 --- a/src/UI/Controller/Api/Payee/Payee/DeletePayeeV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/DeletePayeeV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Payee\Payee; +namespace App\EconumoBundle\UI\Controller\Api\Payee\Payee; -use App\Application\Payee\PayeeService; -use App\Application\Payee\Dto\DeletePayeeV1RequestDto; -use App\UI\Controller\Api\Payee\Payee\Validation\DeletePayeeV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Payee\PayeeService; +use App\EconumoBundle\Application\Payee\Dto\DeletePayeeV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Payee\Payee\Validation\DeletePayeeV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly PayeeService $payeeService, private * Delete payee * * @OA\Tag(name="Payee"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Payee\Dto\DeletePayeeV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Payee\Dto\DeletePayeeV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly PayeeService $payeeService, private * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Payee\Dto\DeletePayeeV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Payee\Dto\DeletePayeeV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Payee/Payee/UnarchivePayeeV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/UnarchivePayeeV1Controller.php similarity index 72% rename from src/UI/Controller/Api/Payee/Payee/UnarchivePayeeV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Payee/Payee/UnarchivePayeeV1Controller.php index c86fa93c..6312ff5f 100644 --- a/src/UI/Controller/Api/Payee/Payee/UnarchivePayeeV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/UnarchivePayeeV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Payee\Payee; +namespace App\EconumoBundle\UI\Controller\Api\Payee\Payee; -use App\Application\Payee\PayeeService; -use App\Application\Payee\Dto\UnarchivePayeeV1RequestDto; -use App\UI\Controller\Api\Payee\Payee\Validation\UnarchivePayeeV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Payee\PayeeService; +use App\EconumoBundle\Application\Payee\Dto\UnarchivePayeeV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Payee\Payee\Validation\UnarchivePayeeV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly PayeeService $payeeService, private * Unarchive payee * * @OA\Tag(name="Payee"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Payee\Dto\UnarchivePayeeV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Payee\Dto\UnarchivePayeeV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly PayeeService $payeeService, private * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Payee\Dto\UnarchivePayeeV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Payee\Dto\UnarchivePayeeV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Payee/Payee/UpdatePayeeV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/UpdatePayeeV1Controller.php similarity index 72% rename from src/UI/Controller/Api/Payee/Payee/UpdatePayeeV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Payee/Payee/UpdatePayeeV1Controller.php index 8aede2f1..3a961e96 100644 --- a/src/UI/Controller/Api/Payee/Payee/UpdatePayeeV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/UpdatePayeeV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Payee\Payee; +namespace App\EconumoBundle\UI\Controller\Api\Payee\Payee; -use App\Application\Payee\PayeeService; -use App\Application\Payee\Dto\UpdatePayeeV1RequestDto; -use App\UI\Controller\Api\Payee\Payee\Validation\UpdatePayeeV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Payee\PayeeService; +use App\EconumoBundle\Application\Payee\Dto\UpdatePayeeV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Payee\Payee\Validation\UpdatePayeeV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly PayeeService $payeeService, private * Update payee * * @OA\Tag(name="Payee"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Payee\Dto\UpdatePayeeV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Payee\Dto\UpdatePayeeV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly PayeeService $payeeService, private * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Payee\Dto\UpdatePayeeV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Payee\Dto\UpdatePayeeV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Payee/Payee/Validation/ArchivePayeeV1Form.php b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/Validation/ArchivePayeeV1Form.php similarity index 91% rename from src/UI/Controller/Api/Payee/Payee/Validation/ArchivePayeeV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Payee/Payee/Validation/ArchivePayeeV1Form.php index 300ca207..2644d29b 100644 --- a/src/UI/Controller/Api/Payee/Payee/Validation/ArchivePayeeV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/Validation/ArchivePayeeV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Payee\Payee\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Payee\Payee\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/Payee/Payee/Validation/CreatePayeeV1Form.php b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/Validation/CreatePayeeV1Form.php similarity index 82% rename from src/UI/Controller/Api/Payee/Payee/Validation/CreatePayeeV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Payee/Payee/Validation/CreatePayeeV1Form.php index 351d4779..af569cf2 100644 --- a/src/UI/Controller/Api/Payee/Payee/Validation/CreatePayeeV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/Validation/CreatePayeeV1Form.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Payee\Payee\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Payee\Payee\Validation; -use App\Domain\Entity\ValueObject\PayeeName; -use App\Infrastructure\Symfony\Form\Constraints\OperationId; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\PayeeName; +use App\EconumoBundle\Infrastructure\Symfony\Form\Constraints\OperationId; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Payee/Payee/Validation/DeletePayeeV1Form.php b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/Validation/DeletePayeeV1Form.php similarity index 91% rename from src/UI/Controller/Api/Payee/Payee/Validation/DeletePayeeV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Payee/Payee/Validation/DeletePayeeV1Form.php index 7407c476..3e6283c3 100644 --- a/src/UI/Controller/Api/Payee/Payee/Validation/DeletePayeeV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/Validation/DeletePayeeV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Payee\Payee\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Payee\Payee\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/Payee/Payee/Validation/UnarchivePayeeV1Form.php b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/Validation/UnarchivePayeeV1Form.php similarity index 91% rename from src/UI/Controller/Api/Payee/Payee/Validation/UnarchivePayeeV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Payee/Payee/Validation/UnarchivePayeeV1Form.php index dcebedfc..654cadc4 100644 --- a/src/UI/Controller/Api/Payee/Payee/Validation/UnarchivePayeeV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/Validation/UnarchivePayeeV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Payee\Payee\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Payee\Payee\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/Payee/Payee/Validation/UpdatePayeeV1Form.php b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/Validation/UpdatePayeeV1Form.php similarity index 85% rename from src/UI/Controller/Api/Payee/Payee/Validation/UpdatePayeeV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Payee/Payee/Validation/UpdatePayeeV1Form.php index 7029701f..bb58c6f7 100644 --- a/src/UI/Controller/Api/Payee/Payee/Validation/UpdatePayeeV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Payee/Payee/Validation/UpdatePayeeV1Form.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Payee\Payee\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Payee\Payee\Validation; -use App\Domain\Entity\ValueObject\PayeeName; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\PayeeName; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Payee/PayeeList/GetPayeeListV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Payee/PayeeList/GetPayeeListV1Controller.php similarity index 76% rename from src/UI/Controller/Api/Payee/PayeeList/GetPayeeListV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Payee/PayeeList/GetPayeeListV1Controller.php index 6437ffcc..41c434d3 100644 --- a/src/UI/Controller/Api/Payee/PayeeList/GetPayeeListV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Payee/PayeeList/GetPayeeListV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Payee\PayeeList; +namespace App\EconumoBundle\UI\Controller\Api\Payee\PayeeList; -use App\Application\Payee\PayeeListService; -use App\Application\Payee\Dto\GetPayeeListV1RequestDto; -use App\UI\Controller\Api\Payee\PayeeList\Validation\GetPayeeListV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Payee\PayeeListService; +use App\EconumoBundle\Application\Payee\Dto\GetPayeeListV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Payee\PayeeList\Validation\GetPayeeListV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -38,7 +38,7 @@ public function __construct(private readonly PayeeListService $payeeListService, * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Payee\Dto\GetPayeeListV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Payee\Dto\GetPayeeListV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Payee/PayeeList/OrderPayeeListV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Payee/PayeeList/OrderPayeeListV1Controller.php similarity index 72% rename from src/UI/Controller/Api/Payee/PayeeList/OrderPayeeListV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Payee/PayeeList/OrderPayeeListV1Controller.php index 50fcd93a..b5f7a1e7 100644 --- a/src/UI/Controller/Api/Payee/PayeeList/OrderPayeeListV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Payee/PayeeList/OrderPayeeListV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Payee\PayeeList; +namespace App\EconumoBundle\UI\Controller\Api\Payee\PayeeList; -use App\Application\Payee\PayeeListService; -use App\Application\Payee\Dto\OrderPayeeListV1RequestDto; -use App\UI\Controller\Api\Payee\PayeeList\Validation\OrderPayeeListV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Payee\PayeeListService; +use App\EconumoBundle\Application\Payee\Dto\OrderPayeeListV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Payee\PayeeList\Validation\OrderPayeeListV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly PayeeListService $payeeListService, * Order payeeList * * @OA\Tag(name="Payee"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Payee\Dto\OrderPayeeListV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Payee\Dto\OrderPayeeListV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly PayeeListService $payeeListService, * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Payee\Dto\OrderPayeeListV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Payee\Dto\OrderPayeeListV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Payee/PayeeList/Validation/GetPayeeListV1Form.php b/src/EconumoBundle/UI/Controller/Api/Payee/PayeeList/Validation/GetPayeeListV1Form.php similarity index 86% rename from src/UI/Controller/Api/Payee/PayeeList/Validation/GetPayeeListV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Payee/PayeeList/Validation/GetPayeeListV1Form.php index 19d6d8ae..2fd677c5 100644 --- a/src/UI/Controller/Api/Payee/PayeeList/Validation/GetPayeeListV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Payee/PayeeList/Validation/GetPayeeListV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Payee\PayeeList\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Payee\PayeeList\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Payee/PayeeList/Validation/OrderPayeeListV1Form.php b/src/EconumoBundle/UI/Controller/Api/Payee/PayeeList/Validation/OrderPayeeListV1Form.php similarity index 84% rename from src/UI/Controller/Api/Payee/PayeeList/Validation/OrderPayeeListV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Payee/PayeeList/Validation/OrderPayeeListV1Form.php index df05a3c3..636dac10 100644 --- a/src/UI/Controller/Api/Payee/PayeeList/Validation/OrderPayeeListV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Payee/PayeeList/Validation/OrderPayeeListV1Form.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Payee\PayeeList\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Payee\PayeeList\Validation; -use App\Infrastructure\Symfony\Form\Type\PositionType; +use App\EconumoBundle\Infrastructure\Symfony\Form\Type\PositionType; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\CollectionType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/System/CurrencyList/ImportCurrencyListV1Controller.php b/src/EconumoBundle/UI/Controller/Api/System/CurrencyList/ImportCurrencyListV1Controller.php similarity index 70% rename from src/UI/Controller/Api/System/CurrencyList/ImportCurrencyListV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/System/CurrencyList/ImportCurrencyListV1Controller.php index 0154fca2..b489b221 100644 --- a/src/UI/Controller/Api/System/CurrencyList/ImportCurrencyListV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/System/CurrencyList/ImportCurrencyListV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\System\CurrencyList; +namespace App\EconumoBundle\UI\Controller\Api\System\CurrencyList; -use App\Application\System\CurrencyListService; -use App\Application\System\Dto\ImportCurrencyListV1RequestDto; -use App\UI\Controller\Api\System\CurrencyList\Validation\ImportCurrencyListV1Form; -use App\Application\Exception\ValidationException; -use App\UI\Middleware\ProtectSystemApi\SystemApiInterface; +use App\EconumoBundle\Application\System\CurrencyListService; +use App\EconumoBundle\Application\System\Dto\ImportCurrencyListV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\System\CurrencyList\Validation\ImportCurrencyListV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\UI\Middleware\ProtectSystemApi\SystemApiInterface; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly CurrencyListService $currencyListSe * Import currencies list * * @OA\Tag(name="System"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\System\Dto\ImportCurrencyListV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\System\Dto\ImportCurrencyListV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly CurrencyListService $currencyListSe * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\System\Dto\ImportCurrencyListV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\System\Dto\ImportCurrencyListV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/System/CurrencyList/Validation/ImportCurrencyListV1Form.php b/src/EconumoBundle/UI/Controller/Api/System/CurrencyList/Validation/ImportCurrencyListV1Form.php similarity index 90% rename from src/UI/Controller/Api/System/CurrencyList/Validation/ImportCurrencyListV1Form.php rename to src/EconumoBundle/UI/Controller/Api/System/CurrencyList/Validation/ImportCurrencyListV1Form.php index b3025ad5..8f447530 100644 --- a/src/UI/Controller/Api/System/CurrencyList/Validation/ImportCurrencyListV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/System/CurrencyList/Validation/ImportCurrencyListV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\System\CurrencyList\Validation; +namespace App\EconumoBundle\UI\Controller\Api\System\CurrencyList\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\CollectionType; diff --git a/src/UI/Controller/Api/System/CurrencyRates/ImportCurrencyRatesV1Controller.php b/src/EconumoBundle/UI/Controller/Api/System/CurrencyRates/ImportCurrencyRatesV1Controller.php similarity index 69% rename from src/UI/Controller/Api/System/CurrencyRates/ImportCurrencyRatesV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/System/CurrencyRates/ImportCurrencyRatesV1Controller.php index ad22c04f..c5df1e90 100644 --- a/src/UI/Controller/Api/System/CurrencyRates/ImportCurrencyRatesV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/System/CurrencyRates/ImportCurrencyRatesV1Controller.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\System\CurrencyRates; +namespace App\EconumoBundle\UI\Controller\Api\System\CurrencyRates; -use App\Application\System\CurrencyRatesService; -use App\Application\System\Dto\ImportCurrencyRatesV1RequestDto; -use App\UI\Controller\Api\System\CurrencyRates\Validation\ImportCurrencyRatesV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; -use App\UI\Middleware\ProtectSystemApi\SystemApiInterface; +use App\EconumoBundle\Application\System\CurrencyRatesService; +use App\EconumoBundle\Application\System\Dto\ImportCurrencyRatesV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\System\CurrencyRates\Validation\ImportCurrencyRatesV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\UI\Middleware\ProtectSystemApi\SystemApiInterface; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -29,7 +29,7 @@ public function __construct(private readonly CurrencyRatesService $currencyRates * Import currencies rates * * @OA\Tag(name="System"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\System\Dto\ImportCurrencyRatesV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\System\Dto\ImportCurrencyRatesV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -40,7 +40,7 @@ public function __construct(private readonly CurrencyRatesService $currencyRates * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\System\Dto\ImportCurrencyRatesV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\System\Dto\ImportCurrencyRatesV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/System/CurrencyRates/Validation/ImportCurrencyRatesV1Form.php b/src/EconumoBundle/UI/Controller/Api/System/CurrencyRates/Validation/ImportCurrencyRatesV1Form.php similarity index 84% rename from src/UI/Controller/Api/System/CurrencyRates/Validation/ImportCurrencyRatesV1Form.php rename to src/EconumoBundle/UI/Controller/Api/System/CurrencyRates/Validation/ImportCurrencyRatesV1Form.php index c60c59b5..f4be363d 100644 --- a/src/UI/Controller/Api/System/CurrencyRates/Validation/ImportCurrencyRatesV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/System/CurrencyRates/Validation/ImportCurrencyRatesV1Form.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\System\CurrencyRates\Validation; +namespace App\EconumoBundle\UI\Controller\Api\System\CurrencyRates\Validation; -use App\Infrastructure\Symfony\Form\Type\CurrencyRateType; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\Infrastructure\Symfony\Form\Type\CurrencyRateType; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\CollectionType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/Tag/Tag/ArchiveTagV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/ArchiveTagV1Controller.php similarity index 73% rename from src/UI/Controller/Api/Tag/Tag/ArchiveTagV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Tag/Tag/ArchiveTagV1Controller.php index e87bc358..089893c9 100644 --- a/src/UI/Controller/Api/Tag/Tag/ArchiveTagV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/ArchiveTagV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Tag\Tag; +namespace App\EconumoBundle\UI\Controller\Api\Tag\Tag; -use App\Application\Tag\TagService; -use App\Application\Tag\Dto\ArchiveTagV1RequestDto; -use App\UI\Controller\Api\Tag\Tag\Validation\ArchiveTagV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Tag\TagService; +use App\EconumoBundle\Application\Tag\Dto\ArchiveTagV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Tag\Tag\Validation\ArchiveTagV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly TagService $tagService, private rea * Archive tag * * @OA\Tag(name="Tag"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Tag\Dto\ArchiveTagV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Tag\Dto\ArchiveTagV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly TagService $tagService, private rea * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Tag\Dto\ArchiveTagV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Tag\Dto\ArchiveTagV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Tag/Tag/CreateTagV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/CreateTagV1Controller.php similarity index 72% rename from src/UI/Controller/Api/Tag/Tag/CreateTagV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Tag/Tag/CreateTagV1Controller.php index ba458de2..b1ffc37b 100644 --- a/src/UI/Controller/Api/Tag/Tag/CreateTagV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/CreateTagV1Controller.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Tag\Tag; +namespace App\EconumoBundle\UI\Controller\Api\Tag\Tag; -use App\Application\Tag\TagService; -use App\Application\Tag\Dto\CreateTagV1RequestDto; -use App\Domain\Entity\User; -use App\Domain\Entity\ValueObject\Id; -use App\UI\Controller\Api\Tag\Tag\Validation\CreateTagV1Form; -use App\Application\Exception\ValidationException; -use App\UI\Service\OperationServiceInterface; +use App\EconumoBundle\Application\Tag\TagService; +use App\EconumoBundle\Application\Tag\Dto\CreateTagV1RequestDto; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\UI\Controller\Api\Tag\Tag\Validation\CreateTagV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\UI\Service\OperationServiceInterface; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -30,7 +30,7 @@ public function __construct(private readonly TagService $tagService, private rea * Create Tag * * @OA\Tag(name="Tag"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Tag\Dto\CreateTagV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Tag\Dto\CreateTagV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -41,7 +41,7 @@ public function __construct(private readonly TagService $tagService, private rea * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Tag\Dto\CreateTagV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Tag\Dto\CreateTagV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Tag/Tag/DeleteTagV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/DeleteTagV1Controller.php similarity index 73% rename from src/UI/Controller/Api/Tag/Tag/DeleteTagV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Tag/Tag/DeleteTagV1Controller.php index 08d1769f..6abce8d4 100644 --- a/src/UI/Controller/Api/Tag/Tag/DeleteTagV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/DeleteTagV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Tag\Tag; +namespace App\EconumoBundle\UI\Controller\Api\Tag\Tag; -use App\Application\Tag\TagService; -use App\Application\Tag\Dto\DeleteTagV1RequestDto; -use App\UI\Controller\Api\Tag\Tag\Validation\DeleteTagV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Tag\TagService; +use App\EconumoBundle\Application\Tag\Dto\DeleteTagV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Tag\Tag\Validation\DeleteTagV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly TagService $tagService, private rea * Delete tag * * @OA\Tag(name="Tag"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Tag\Dto\DeleteTagV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Tag\Dto\DeleteTagV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly TagService $tagService, private rea * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Tag\Dto\DeleteTagV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Tag\Dto\DeleteTagV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Tag/Tag/UnarchiveTagV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/UnarchiveTagV1Controller.php similarity index 73% rename from src/UI/Controller/Api/Tag/Tag/UnarchiveTagV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Tag/Tag/UnarchiveTagV1Controller.php index ae35ecde..15660d44 100644 --- a/src/UI/Controller/Api/Tag/Tag/UnarchiveTagV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/UnarchiveTagV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Tag\Tag; +namespace App\EconumoBundle\UI\Controller\Api\Tag\Tag; -use App\Application\Tag\TagService; -use App\Application\Tag\Dto\UnarchiveTagV1RequestDto; -use App\UI\Controller\Api\Tag\Tag\Validation\UnarchiveTagV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Tag\TagService; +use App\EconumoBundle\Application\Tag\Dto\UnarchiveTagV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Tag\Tag\Validation\UnarchiveTagV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly TagService $tagService, private rea * Unarchive tag * * @OA\Tag(name="Tag"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Tag\Dto\UnarchiveTagV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Tag\Dto\UnarchiveTagV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly TagService $tagService, private rea * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Tag\Dto\UnarchiveTagV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Tag\Dto\UnarchiveTagV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Tag/Tag/UpdateTagV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/UpdateTagV1Controller.php similarity index 73% rename from src/UI/Controller/Api/Tag/Tag/UpdateTagV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Tag/Tag/UpdateTagV1Controller.php index e7113e1d..1b9bf005 100644 --- a/src/UI/Controller/Api/Tag/Tag/UpdateTagV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/UpdateTagV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Tag\Tag; +namespace App\EconumoBundle\UI\Controller\Api\Tag\Tag; -use App\Application\Tag\TagService; -use App\Application\Tag\Dto\UpdateTagV1RequestDto; -use App\UI\Controller\Api\Tag\Tag\Validation\UpdateTagV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Tag\TagService; +use App\EconumoBundle\Application\Tag\Dto\UpdateTagV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Tag\Tag\Validation\UpdateTagV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly TagService $tagService, private rea * Update tag * * @OA\Tag(name="Tag"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Tag\Dto\UpdateTagV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Tag\Dto\UpdateTagV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly TagService $tagService, private rea * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Tag\Dto\UpdateTagV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Tag\Dto\UpdateTagV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Tag/Tag/Validation/ArchiveTagV1Form.php b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/Validation/ArchiveTagV1Form.php similarity index 91% rename from src/UI/Controller/Api/Tag/Tag/Validation/ArchiveTagV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Tag/Tag/Validation/ArchiveTagV1Form.php index d4b65aba..e48c1c07 100644 --- a/src/UI/Controller/Api/Tag/Tag/Validation/ArchiveTagV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/Validation/ArchiveTagV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Tag\Tag\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Tag\Tag\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/Tag/Tag/Validation/CreateTagV1Form.php b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/Validation/CreateTagV1Form.php similarity index 83% rename from src/UI/Controller/Api/Tag/Tag/Validation/CreateTagV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Tag/Tag/Validation/CreateTagV1Form.php index 8a52cdcb..cc45cfa0 100644 --- a/src/UI/Controller/Api/Tag/Tag/Validation/CreateTagV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/Validation/CreateTagV1Form.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Tag\Tag\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Tag\Tag\Validation; -use App\Domain\Entity\ValueObject\TagName; -use App\Infrastructure\Symfony\Form\Constraints\OperationId; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\TagName; +use App\EconumoBundle\Infrastructure\Symfony\Form\Constraints\OperationId; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Tag/Tag/Validation/DeleteTagV1Form.php b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/Validation/DeleteTagV1Form.php similarity index 91% rename from src/UI/Controller/Api/Tag/Tag/Validation/DeleteTagV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Tag/Tag/Validation/DeleteTagV1Form.php index 7ad35637..da94b666 100644 --- a/src/UI/Controller/Api/Tag/Tag/Validation/DeleteTagV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/Validation/DeleteTagV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Tag\Tag\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Tag\Tag\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/Tag/Tag/Validation/UnarchiveTagV1Form.php b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/Validation/UnarchiveTagV1Form.php similarity index 91% rename from src/UI/Controller/Api/Tag/Tag/Validation/UnarchiveTagV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Tag/Tag/Validation/UnarchiveTagV1Form.php index c26c5bdc..053fa661 100644 --- a/src/UI/Controller/Api/Tag/Tag/Validation/UnarchiveTagV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/Validation/UnarchiveTagV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Tag\Tag\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Tag\Tag\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/Tag/Tag/Validation/UpdateTagV1Form.php b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/Validation/UpdateTagV1Form.php similarity index 85% rename from src/UI/Controller/Api/Tag/Tag/Validation/UpdateTagV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Tag/Tag/Validation/UpdateTagV1Form.php index 7308fc34..c02a3e2f 100644 --- a/src/UI/Controller/Api/Tag/Tag/Validation/UpdateTagV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Tag/Tag/Validation/UpdateTagV1Form.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Tag\Tag\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Tag\Tag\Validation; -use App\Domain\Entity\ValueObject\TagName; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\TagName; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Tag/TagList/GetTagListV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Tag/TagList/GetTagListV1Controller.php similarity index 76% rename from src/UI/Controller/Api/Tag/TagList/GetTagListV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Tag/TagList/GetTagListV1Controller.php index a2a5742f..fd79c941 100644 --- a/src/UI/Controller/Api/Tag/TagList/GetTagListV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Tag/TagList/GetTagListV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Tag\TagList; +namespace App\EconumoBundle\UI\Controller\Api\Tag\TagList; -use App\Application\Tag\TagListService; -use App\Application\Tag\Dto\GetTagListV1RequestDto; -use App\UI\Controller\Api\Tag\TagList\Validation\GetTagListV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Tag\TagListService; +use App\EconumoBundle\Application\Tag\Dto\GetTagListV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Tag\TagList\Validation\GetTagListV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -38,7 +38,7 @@ public function __construct(private readonly TagListService $tagListService, pri * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Tag\Dto\GetTagListV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Tag\Dto\GetTagListV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Tag/TagList/OrderTagListV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Tag/TagList/OrderTagListV1Controller.php similarity index 72% rename from src/UI/Controller/Api/Tag/TagList/OrderTagListV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Tag/TagList/OrderTagListV1Controller.php index ffc6566b..239d9db6 100644 --- a/src/UI/Controller/Api/Tag/TagList/OrderTagListV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Tag/TagList/OrderTagListV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Tag\TagList; +namespace App\EconumoBundle\UI\Controller\Api\Tag\TagList; -use App\Application\Tag\TagListService; -use App\Application\Tag\Dto\OrderTagListV1RequestDto; -use App\UI\Controller\Api\Tag\TagList\Validation\OrderTagListV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Tag\TagListService; +use App\EconumoBundle\Application\Tag\Dto\OrderTagListV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Tag\TagList\Validation\OrderTagListV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly TagListService $tagListService, pri * Order tagList * * @OA\Tag(name="Tag"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Tag\Dto\OrderTagListV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Tag\Dto\OrderTagListV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly TagListService $tagListService, pri * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Tag\Dto\OrderTagListV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Tag\Dto\OrderTagListV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Tag/TagList/Validation/GetTagListV1Form.php b/src/EconumoBundle/UI/Controller/Api/Tag/TagList/Validation/GetTagListV1Form.php similarity index 86% rename from src/UI/Controller/Api/Tag/TagList/Validation/GetTagListV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Tag/TagList/Validation/GetTagListV1Form.php index cf86be42..15bd5893 100644 --- a/src/UI/Controller/Api/Tag/TagList/Validation/GetTagListV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Tag/TagList/Validation/GetTagListV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Tag\TagList\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Tag\TagList\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Tag/TagList/Validation/OrderTagListV1Form.php b/src/EconumoBundle/UI/Controller/Api/Tag/TagList/Validation/OrderTagListV1Form.php similarity index 85% rename from src/UI/Controller/Api/Tag/TagList/Validation/OrderTagListV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Tag/TagList/Validation/OrderTagListV1Form.php index edaba581..60aaab16 100644 --- a/src/UI/Controller/Api/Tag/TagList/Validation/OrderTagListV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Tag/TagList/Validation/OrderTagListV1Form.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Tag\TagList\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Tag\TagList\Validation; -use App\Infrastructure\Symfony\Form\Type\PositionType; +use App\EconumoBundle\Infrastructure\Symfony\Form\Type\PositionType; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\CollectionType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/Transaction/Transaction/CreateTransactionV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/CreateTransactionV1Controller.php similarity index 70% rename from src/UI/Controller/Api/Transaction/Transaction/CreateTransactionV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/CreateTransactionV1Controller.php index 35c8a825..8d7745c2 100644 --- a/src/UI/Controller/Api/Transaction/Transaction/CreateTransactionV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/CreateTransactionV1Controller.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Transaction\Transaction; +namespace App\EconumoBundle\UI\Controller\Api\Transaction\Transaction; -use App\Application\Transaction\TransactionService; -use App\Application\Transaction\Dto\CreateTransactionV1RequestDto; -use App\Domain\Entity\User; -use App\Domain\Entity\ValueObject\Id; -use App\UI\Controller\Api\Transaction\Transaction\Validation\CreateTransactionV1Form; -use App\Application\Exception\ValidationException; -use App\UI\Service\OperationServiceInterface; +use App\EconumoBundle\Application\Transaction\TransactionService; +use App\EconumoBundle\Application\Transaction\Dto\CreateTransactionV1RequestDto; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\UI\Controller\Api\Transaction\Transaction\Validation\CreateTransactionV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\UI\Service\OperationServiceInterface; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -30,7 +30,7 @@ public function __construct(private readonly TransactionService $transactionServ * Create Transaction * * @OA\Tag(name="Transaction"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Transaction\Dto\CreateTransactionV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Transaction\Dto\CreateTransactionV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -41,7 +41,7 @@ public function __construct(private readonly TransactionService $transactionServ * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Transaction\Dto\CreateTransactionV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Transaction\Dto\CreateTransactionV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Transaction/Transaction/DeleteTransactionV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/DeleteTransactionV1Controller.php similarity index 71% rename from src/UI/Controller/Api/Transaction/Transaction/DeleteTransactionV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/DeleteTransactionV1Controller.php index 7475448e..3f123a9c 100644 --- a/src/UI/Controller/Api/Transaction/Transaction/DeleteTransactionV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/DeleteTransactionV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Transaction\Transaction; +namespace App\EconumoBundle\UI\Controller\Api\Transaction\Transaction; -use App\Application\Transaction\TransactionService; -use App\Application\Transaction\Dto\DeleteTransactionV1RequestDto; -use App\Domain\Entity\User; -use App\UI\Controller\Api\Transaction\Transaction\Validation\DeleteTransactionV1Form; -use App\Application\Exception\ValidationException; +use App\EconumoBundle\Application\Transaction\TransactionService; +use App\EconumoBundle\Application\Transaction\Dto\DeleteTransactionV1RequestDto; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\UI\Controller\Api\Transaction\Transaction\Validation\DeleteTransactionV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly TransactionService $transactionServ * Delete Transaction * * @OA\Tag(name="Transaction"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Transaction\Dto\DeleteTransactionV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Transaction\Dto\DeleteTransactionV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly TransactionService $transactionServ * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Transaction\Dto\DeleteTransactionV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Transaction\Dto\DeleteTransactionV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Transaction/Transaction/UpdateTransactionV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/UpdateTransactionV1Controller.php similarity index 71% rename from src/UI/Controller/Api/Transaction/Transaction/UpdateTransactionV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/UpdateTransactionV1Controller.php index d9c6279e..df5617db 100644 --- a/src/UI/Controller/Api/Transaction/Transaction/UpdateTransactionV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/UpdateTransactionV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Transaction\Transaction; +namespace App\EconumoBundle\UI\Controller\Api\Transaction\Transaction; -use App\Application\Transaction\TransactionService; -use App\Application\Transaction\Dto\UpdateTransactionV1RequestDto; -use App\UI\Controller\Api\Transaction\Transaction\Validation\UpdateTransactionV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Transaction\TransactionService; +use App\EconumoBundle\Application\Transaction\Dto\UpdateTransactionV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Transaction\Transaction\Validation\UpdateTransactionV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly TransactionService $transactionServ * Update transaction * * @OA\Tag(name="Transaction"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\Transaction\Dto\UpdateTransactionV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\Transaction\Dto\UpdateTransactionV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly TransactionService $transactionServ * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Transaction\Dto\UpdateTransactionV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Transaction\Dto\UpdateTransactionV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Transaction/Transaction/Validation/CreateTransactionV1Form.php b/src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/Validation/CreateTransactionV1Form.php similarity index 91% rename from src/UI/Controller/Api/Transaction/Transaction/Validation/CreateTransactionV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/Validation/CreateTransactionV1Form.php index c4cb0f7d..4ab8e1d9 100644 --- a/src/UI/Controller/Api/Transaction/Transaction/Validation/CreateTransactionV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/Validation/CreateTransactionV1Form.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Transaction\Transaction\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Transaction\Transaction\Validation; -use App\Domain\Entity\ValueObject\TransactionType; -use App\Infrastructure\Symfony\Form\Constraints\OperationId; +use App\EconumoBundle\Domain\Entity\ValueObject\TransactionType; +use App\EconumoBundle\Infrastructure\Symfony\Form\Constraints\OperationId; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Form\Extension\Core\Type\NumberType; diff --git a/src/UI/Controller/Api/Transaction/Transaction/Validation/DeleteTransactionV1Form.php b/src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/Validation/DeleteTransactionV1Form.php similarity index 90% rename from src/UI/Controller/Api/Transaction/Transaction/Validation/DeleteTransactionV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/Validation/DeleteTransactionV1Form.php index 45e30844..fd201df7 100644 --- a/src/UI/Controller/Api/Transaction/Transaction/Validation/DeleteTransactionV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/Validation/DeleteTransactionV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Transaction\Transaction\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Transaction\Transaction\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/Transaction/Transaction/Validation/UpdateTransactionV1Form.php b/src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/Validation/UpdateTransactionV1Form.php similarity index 91% rename from src/UI/Controller/Api/Transaction/Transaction/Validation/UpdateTransactionV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/Validation/UpdateTransactionV1Form.php index 92a6b5dd..10042037 100644 --- a/src/UI/Controller/Api/Transaction/Transaction/Validation/UpdateTransactionV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Transaction/Transaction/Validation/UpdateTransactionV1Form.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Transaction\Transaction\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Transaction\Transaction\Validation; -use App\Domain\Entity\ValueObject\TransactionType; -use App\Infrastructure\Symfony\Form\Constraints\OperationId; +use App\EconumoBundle\Domain\Entity\ValueObject\TransactionType; +use App\EconumoBundle\Infrastructure\Symfony\Form\Constraints\OperationId; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Form\Extension\Core\Type\NumberType; diff --git a/src/UI/Controller/Api/Transaction/TransactionList/GetTransactionListV1Controller.php b/src/EconumoBundle/UI/Controller/Api/Transaction/TransactionList/GetTransactionListV1Controller.php similarity index 79% rename from src/UI/Controller/Api/Transaction/TransactionList/GetTransactionListV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/Transaction/TransactionList/GetTransactionListV1Controller.php index ae0659dd..cd1e05e2 100644 --- a/src/UI/Controller/Api/Transaction/TransactionList/GetTransactionListV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/Transaction/TransactionList/GetTransactionListV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Transaction\TransactionList; +namespace App\EconumoBundle\UI\Controller\Api\Transaction\TransactionList; -use App\Application\Transaction\TransactionListService; -use App\Application\Transaction\Dto\GetTransactionListV1RequestDto; -use App\UI\Controller\Api\Transaction\TransactionList\Validation\GetTransactionListV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\Transaction\TransactionListService; +use App\EconumoBundle\Application\Transaction\Dto\GetTransactionListV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\Transaction\TransactionList\Validation\GetTransactionListV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -59,7 +59,7 @@ public function __construct(private readonly TransactionListService $transaction * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\Transaction\Dto\GetTransactionListV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\Transaction\Dto\GetTransactionListV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/Transaction/TransactionList/Validation/GetTransactionListV1Form.php b/src/EconumoBundle/UI/Controller/Api/Transaction/TransactionList/Validation/GetTransactionListV1Form.php similarity index 91% rename from src/UI/Controller/Api/Transaction/TransactionList/Validation/GetTransactionListV1Form.php rename to src/EconumoBundle/UI/Controller/Api/Transaction/TransactionList/Validation/GetTransactionListV1Form.php index d9e0fbcc..2e01d611 100644 --- a/src/UI/Controller/Api/Transaction/TransactionList/Validation/GetTransactionListV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/Transaction/TransactionList/Validation/GetTransactionListV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\Transaction\TransactionList\Validation; +namespace App\EconumoBundle\UI\Controller\Api\Transaction\TransactionList\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/User/Budget/UpdateBudgetV1Controller.php b/src/EconumoBundle/UI/Controller/Api/User/Budget/UpdateBudgetV1Controller.php similarity index 72% rename from src/UI/Controller/Api/User/Budget/UpdateBudgetV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/User/Budget/UpdateBudgetV1Controller.php index 90efe034..72c1ee82 100644 --- a/src/UI/Controller/Api/User/Budget/UpdateBudgetV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/User/Budget/UpdateBudgetV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\Budget; +namespace App\EconumoBundle\UI\Controller\Api\User\Budget; -use App\Application\User\BudgetService; -use App\Application\User\Dto\UpdateBudgetV1RequestDto; -use App\UI\Controller\Api\User\Budget\Validation\UpdateBudgetV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\User\BudgetService; +use App\EconumoBundle\Application\User\Dto\UpdateBudgetV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\User\Budget\Validation\UpdateBudgetV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly BudgetService $budgetService, priva * Update the default budget * * @OA\Tag(name="User"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\User\Dto\UpdateBudgetV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\User\Dto\UpdateBudgetV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly BudgetService $budgetService, priva * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\User\Dto\UpdateBudgetV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\User\Dto\UpdateBudgetV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/User/Budget/Validation/UpdateBudgetV1Form.php b/src/EconumoBundle/UI/Controller/Api/User/Budget/Validation/UpdateBudgetV1Form.php similarity index 85% rename from src/UI/Controller/Api/User/Budget/Validation/UpdateBudgetV1Form.php rename to src/EconumoBundle/UI/Controller/Api/User/Budget/Validation/UpdateBudgetV1Form.php index 68aec0b6..0cd35ce5 100644 --- a/src/UI/Controller/Api/User/Budget/Validation/UpdateBudgetV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/User/Budget/Validation/UpdateBudgetV1Form.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\Budget\Validation; +namespace App\EconumoBundle\UI\Controller\Api\User\Budget\Validation; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/User/Currency/UpdateCurrencyV1Controller.php b/src/EconumoBundle/UI/Controller/Api/User/Currency/UpdateCurrencyV1Controller.php similarity index 72% rename from src/UI/Controller/Api/User/Currency/UpdateCurrencyV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/User/Currency/UpdateCurrencyV1Controller.php index 5f2c9abb..2a65f27b 100644 --- a/src/UI/Controller/Api/User/Currency/UpdateCurrencyV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/User/Currency/UpdateCurrencyV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\Currency; +namespace App\EconumoBundle\UI\Controller\Api\User\Currency; -use App\Application\User\CurrencyService; -use App\Application\User\Dto\UpdateCurrencyV1RequestDto; -use App\UI\Controller\Api\User\Currency\Validation\UpdateCurrencyV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\User\CurrencyService; +use App\EconumoBundle\Application\User\Dto\UpdateCurrencyV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\User\Currency\Validation\UpdateCurrencyV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly CurrencyService $currencyService, p * Update currency * * @OA\Tag(name="User"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\User\Dto\UpdateCurrencyV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\User\Dto\UpdateCurrencyV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly CurrencyService $currencyService, p * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\User\Dto\UpdateCurrencyV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\User\Dto\UpdateCurrencyV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/User/Currency/Validation/UpdateCurrencyV1Form.php b/src/EconumoBundle/UI/Controller/Api/User/Currency/Validation/UpdateCurrencyV1Form.php similarity index 85% rename from src/UI/Controller/Api/User/Currency/Validation/UpdateCurrencyV1Form.php rename to src/EconumoBundle/UI/Controller/Api/User/Currency/Validation/UpdateCurrencyV1Form.php index 59515e7c..4a1ab45c 100644 --- a/src/UI/Controller/Api/User/Currency/Validation/UpdateCurrencyV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/User/Currency/Validation/UpdateCurrencyV1Form.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\Currency\Validation; +namespace App\EconumoBundle\UI\Controller\Api\User\Currency\Validation; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/User/Name/UpdateNameV1Controller.php b/src/EconumoBundle/UI/Controller/Api/User/Name/UpdateNameV1Controller.php similarity index 73% rename from src/UI/Controller/Api/User/Name/UpdateNameV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/User/Name/UpdateNameV1Controller.php index cfde5a90..39811ea7 100644 --- a/src/UI/Controller/Api/User/Name/UpdateNameV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/User/Name/UpdateNameV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\Name; +namespace App\EconumoBundle\UI\Controller\Api\User\Name; -use App\Application\User\NameService; -use App\Application\User\Dto\UpdateNameV1RequestDto; -use App\UI\Controller\Api\User\Name\Validation\UpdateNameV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\User\NameService; +use App\EconumoBundle\Application\User\Dto\UpdateNameV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\User\Name\Validation\UpdateNameV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly NameService $nameService, private r * Update name * * @OA\Tag(name="User"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\User\Dto\UpdateNameV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\User\Dto\UpdateNameV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly NameService $nameService, private r * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\User\Dto\UpdateNameV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\User\Dto\UpdateNameV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/User/Name/Validation/UpdateNameV1Form.php b/src/EconumoBundle/UI/Controller/Api/User/Name/Validation/UpdateNameV1Form.php similarity index 91% rename from src/UI/Controller/Api/User/Name/Validation/UpdateNameV1Form.php rename to src/EconumoBundle/UI/Controller/Api/User/Name/Validation/UpdateNameV1Form.php index 1fd086b6..d86a84d2 100644 --- a/src/UI/Controller/Api/User/Name/Validation/UpdateNameV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/User/Name/Validation/UpdateNameV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\Name\Validation; +namespace App\EconumoBundle\UI\Controller\Api\User\Name\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/User/OptionList/GetOptionListV1Controller.php b/src/EconumoBundle/UI/Controller/Api/User/OptionList/GetOptionListV1Controller.php similarity index 76% rename from src/UI/Controller/Api/User/OptionList/GetOptionListV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/User/OptionList/GetOptionListV1Controller.php index d344cb70..799f7e5d 100644 --- a/src/UI/Controller/Api/User/OptionList/GetOptionListV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/User/OptionList/GetOptionListV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\OptionList; +namespace App\EconumoBundle\UI\Controller\Api\User\OptionList; -use App\Application\User\OptionListService; -use App\Application\User\Dto\GetOptionListV1RequestDto; -use App\UI\Controller\Api\User\OptionList\Validation\GetOptionListV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\User\OptionListService; +use App\EconumoBundle\Application\User\Dto\GetOptionListV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\User\OptionList\Validation\GetOptionListV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -38,7 +38,7 @@ public function __construct(private readonly OptionListService $optionListServic * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\User\Dto\GetOptionListV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\User\Dto\GetOptionListV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/User/OptionList/Validation/GetOptionListV1Form.php b/src/EconumoBundle/UI/Controller/Api/User/OptionList/Validation/GetOptionListV1Form.php similarity index 83% rename from src/UI/Controller/Api/User/OptionList/Validation/GetOptionListV1Form.php rename to src/EconumoBundle/UI/Controller/Api/User/OptionList/Validation/GetOptionListV1Form.php index e1f34e11..6bfe88c0 100644 --- a/src/UI/Controller/Api/User/OptionList/Validation/GetOptionListV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/User/OptionList/Validation/GetOptionListV1Form.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\OptionList\Validation; +namespace App\EconumoBundle\UI\Controller\Api\User\OptionList\Validation; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/User/Password/RemindPasswordV1Controller.php b/src/EconumoBundle/UI/Controller/Api/User/Password/RemindPasswordV1Controller.php similarity index 74% rename from src/UI/Controller/Api/User/Password/RemindPasswordV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/User/Password/RemindPasswordV1Controller.php index 9175b6e2..5ad8bdf8 100644 --- a/src/UI/Controller/Api/User/Password/RemindPasswordV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/User/Password/RemindPasswordV1Controller.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\Password; +namespace App\EconumoBundle\UI\Controller\Api\User\Password; -use App\Application\User\PasswordService; -use App\Application\User\Dto\RemindPasswordV1RequestDto; -use App\UI\Controller\Api\User\Password\Validation\RemindPasswordV1Form; -use App\Application\Exception\ValidationException; +use App\EconumoBundle\Application\User\PasswordService; +use App\EconumoBundle\Application\User\Dto\RemindPasswordV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\User\Password\Validation\RemindPasswordV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -29,7 +29,7 @@ public function __construct(private readonly PasswordService $passwordService, p * @OA\Tag(name="User"), * @OA\Post( * security={}, - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\User\Dto\RemindPasswordV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\User\Dto\RemindPasswordV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -40,7 +40,7 @@ public function __construct(private readonly PasswordService $passwordService, p * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\User\Dto\RemindPasswordV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\User\Dto\RemindPasswordV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/User/Password/ResetPasswordV1Controller.php b/src/EconumoBundle/UI/Controller/Api/User/Password/ResetPasswordV1Controller.php similarity index 73% rename from src/UI/Controller/Api/User/Password/ResetPasswordV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/User/Password/ResetPasswordV1Controller.php index 0374a59b..f9955b0d 100644 --- a/src/UI/Controller/Api/User/Password/ResetPasswordV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/User/Password/ResetPasswordV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\Password; +namespace App\EconumoBundle\UI\Controller\Api\User\Password; -use App\Application\User\PasswordService; -use App\Application\User\Dto\ResetPasswordV1RequestDto; -use App\UI\Controller\Api\User\Password\Validation\ResetPasswordV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\User\PasswordService; +use App\EconumoBundle\Application\User\Dto\ResetPasswordV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\User\Password\Validation\ResetPasswordV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -30,7 +30,7 @@ public function __construct(private readonly PasswordService $passwordService, p * @OA\Tag(name="User"), * @OA\Post( * security={}, - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\User\Dto\ResetPasswordV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\User\Dto\ResetPasswordV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -41,7 +41,7 @@ public function __construct(private readonly PasswordService $passwordService, p * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\User\Dto\ResetPasswordV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\User\Dto\ResetPasswordV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/User/Password/UpdatePasswordV1Controller.php b/src/EconumoBundle/UI/Controller/Api/User/Password/UpdatePasswordV1Controller.php similarity index 72% rename from src/UI/Controller/Api/User/Password/UpdatePasswordV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/User/Password/UpdatePasswordV1Controller.php index ac986ac4..689aeec6 100644 --- a/src/UI/Controller/Api/User/Password/UpdatePasswordV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/User/Password/UpdatePasswordV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\Password; +namespace App\EconumoBundle\UI\Controller\Api\User\Password; -use App\Application\User\PasswordService; -use App\Application\User\Dto\UpdatePasswordV1RequestDto; -use App\UI\Controller\Api\User\Password\Validation\UpdatePasswordV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\User\PasswordService; +use App\EconumoBundle\Application\User\Dto\UpdatePasswordV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\User\Password\Validation\UpdatePasswordV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly PasswordService $passwordService, p * Update password * * @OA\Tag(name="User"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\User\Dto\UpdatePasswordV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\User\Dto\UpdatePasswordV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly PasswordService $passwordService, p * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\User\Dto\UpdatePasswordV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\User\Dto\UpdatePasswordV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/User/Password/Validation/RemindPasswordV1Form.php b/src/EconumoBundle/UI/Controller/Api/User/Password/Validation/RemindPasswordV1Form.php similarity index 91% rename from src/UI/Controller/Api/User/Password/Validation/RemindPasswordV1Form.php rename to src/EconumoBundle/UI/Controller/Api/User/Password/Validation/RemindPasswordV1Form.php index 004b3b1e..0e8a1b72 100644 --- a/src/UI/Controller/Api/User/Password/Validation/RemindPasswordV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/User/Password/Validation/RemindPasswordV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\Password\Validation; +namespace App\EconumoBundle\UI\Controller\Api\User\Password\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/User/Password/Validation/ResetPasswordV1Form.php b/src/EconumoBundle/UI/Controller/Api/User/Password/Validation/ResetPasswordV1Form.php similarity index 85% rename from src/UI/Controller/Api/User/Password/Validation/ResetPasswordV1Form.php rename to src/EconumoBundle/UI/Controller/Api/User/Password/Validation/ResetPasswordV1Form.php index d4f3312b..cf9d1c6b 100644 --- a/src/UI/Controller/Api/User/Password/Validation/ResetPasswordV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/User/Password/Validation/ResetPasswordV1Form.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\Password\Validation; +namespace App\EconumoBundle\UI\Controller\Api\User\Password\Validation; -use App\Domain\Entity\ValueObject\UserPasswordRequestCode; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\UserPasswordRequestCode; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/User/Password/Validation/UpdatePasswordV1Form.php b/src/EconumoBundle/UI/Controller/Api/User/Password/Validation/UpdatePasswordV1Form.php similarity index 92% rename from src/UI/Controller/Api/User/Password/Validation/UpdatePasswordV1Form.php rename to src/EconumoBundle/UI/Controller/Api/User/Password/Validation/UpdatePasswordV1Form.php index 1acffc6f..51377ca4 100644 --- a/src/UI/Controller/Api/User/Password/Validation/UpdatePasswordV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/User/Password/Validation/UpdatePasswordV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\Password\Validation; +namespace App\EconumoBundle\UI\Controller\Api\User\Password\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/User/ReportPeriod/UpdateReportPeriodV1Controller.php b/src/EconumoBundle/UI/Controller/Api/User/ReportPeriod/UpdateReportPeriodV1Controller.php similarity index 72% rename from src/UI/Controller/Api/User/ReportPeriod/UpdateReportPeriodV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/User/ReportPeriod/UpdateReportPeriodV1Controller.php index 18b01f84..a39c1dd8 100644 --- a/src/UI/Controller/Api/User/ReportPeriod/UpdateReportPeriodV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/User/ReportPeriod/UpdateReportPeriodV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\ReportPeriod; +namespace App\EconumoBundle\UI\Controller\Api\User\ReportPeriod; -use App\Application\User\ReportPeriodService; -use App\Application\User\Dto\UpdateReportPeriodV1RequestDto; -use App\UI\Controller\Api\User\ReportPeriod\Validation\UpdateReportPeriodV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\User\ReportPeriodService; +use App\EconumoBundle\Application\User\Dto\UpdateReportPeriodV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\User\ReportPeriod\Validation\UpdateReportPeriodV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -28,7 +28,7 @@ public function __construct(private readonly ReportPeriodService $reportPeriodSe * Update reportPeriod * * @OA\Tag(name="User"), - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\User\Dto\UpdateReportPeriodV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\User\Dto\UpdateReportPeriodV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -39,7 +39,7 @@ public function __construct(private readonly ReportPeriodService $reportPeriodSe * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\User\Dto\UpdateReportPeriodV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\User\Dto\UpdateReportPeriodV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/User/ReportPeriod/Validation/UpdateReportPeriodV1Form.php b/src/EconumoBundle/UI/Controller/Api/User/ReportPeriod/Validation/UpdateReportPeriodV1Form.php similarity index 81% rename from src/UI/Controller/Api/User/ReportPeriod/Validation/UpdateReportPeriodV1Form.php rename to src/EconumoBundle/UI/Controller/Api/User/ReportPeriod/Validation/UpdateReportPeriodV1Form.php index d5c37245..21ca18ac 100644 --- a/src/UI/Controller/Api/User/ReportPeriod/Validation/UpdateReportPeriodV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/User/ReportPeriod/Validation/UpdateReportPeriodV1Form.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\ReportPeriod\Validation; +namespace App\EconumoBundle\UI\Controller\Api\User\ReportPeriod\Validation; -use App\Domain\Entity\ValueObject\ReportPeriod; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\ReportPeriod; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/Api/User/User/LoginUserV1Controller.php b/src/EconumoBundle/UI/Controller/Api/User/User/LoginUserV1Controller.php similarity index 76% rename from src/UI/Controller/Api/User/User/LoginUserV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/User/User/LoginUserV1Controller.php index 5acd4c42..002bf058 100644 --- a/src/UI/Controller/Api/User/User/LoginUserV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/User/User/LoginUserV1Controller.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\User; +namespace App\EconumoBundle\UI\Controller\Api\User\User; -use App\Application\User\UserService; -use App\Application\User\Dto\LoginUserV1RequestDto; -use App\Domain\Entity\User; -use App\UI\Controller\Api\User\User\Validation\LoginUserV1Form; -use App\Application\Exception\ValidationException; +use App\EconumoBundle\Application\User\UserService; +use App\EconumoBundle\Application\User\Dto\LoginUserV1RequestDto; +use App\EconumoBundle\Domain\Entity\User; +use App\EconumoBundle\UI\Controller\Api\User\User\Validation\LoginUserV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; @@ -32,7 +32,7 @@ public function __construct(private readonly UserService $userService, private r * @OA\Tag(name="User"), * @OA\Post( * security={}, - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\User\Dto\LoginUserV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\User\Dto\LoginUserV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -43,7 +43,7 @@ public function __construct(private readonly UserService $userService, private r * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\User\Dto\LoginUserV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\User\Dto\LoginUserV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/User/User/LogoutUserV1Controller.php b/src/EconumoBundle/UI/Controller/Api/User/User/LogoutUserV1Controller.php similarity index 74% rename from src/UI/Controller/Api/User/User/LogoutUserV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/User/User/LogoutUserV1Controller.php index 5a4929e4..f93e53d1 100644 --- a/src/UI/Controller/Api/User/User/LogoutUserV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/User/User/LogoutUserV1Controller.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\User; +namespace App\EconumoBundle\UI\Controller\Api\User\User; -use App\Application\User\UserService; -use App\Application\User\Dto\LogoutUserV1RequestDto; -use App\UI\Controller\Api\User\User\Validation\LogoutUserV1Form; -use App\Application\Exception\ValidationException; +use App\EconumoBundle\Application\User\UserService; +use App\EconumoBundle\Application\User\Dto\LogoutUserV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\User\User\Validation\LogoutUserV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -37,7 +37,7 @@ public function __construct(private readonly UserService $userService, private r * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\User\Dto\LogoutUserV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\User\Dto\LogoutUserV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/User/User/RegisterUserV1Controller.php b/src/EconumoBundle/UI/Controller/Api/User/User/RegisterUserV1Controller.php similarity index 75% rename from src/UI/Controller/Api/User/User/RegisterUserV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/User/User/RegisterUserV1Controller.php index 228d303f..f230065b 100644 --- a/src/UI/Controller/Api/User/User/RegisterUserV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/User/User/RegisterUserV1Controller.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\User; +namespace App\EconumoBundle\UI\Controller\Api\User\User; -use App\Application\User\UserService; -use App\Application\User\Dto\RegisterUserV1RequestDto; -use App\UI\Controller\Api\User\User\Validation\RegisterUserV1Form; -use App\Application\Exception\ValidationException; +use App\EconumoBundle\Application\User\UserService; +use App\EconumoBundle\Application\User\Dto\RegisterUserV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\User\User\Validation\RegisterUserV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -29,7 +29,7 @@ public function __construct(private readonly UserService $userService, private r * @OA\Tag(name="User"), * @OA\Post( * security={}, - * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\Application\User\Dto\RegisterUserV1RequestDto::class))), + * @OA\RequestBody(@OA\JsonContent(ref=@Model(type=\App\EconumoBundle\Application\User\Dto\RegisterUserV1RequestDto::class))), * @OA\Response( * response=200, * description="OK", @@ -40,7 +40,7 @@ public function __construct(private readonly UserService $userService, private r * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\User\Dto\RegisterUserV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\User\Dto\RegisterUserV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/User/User/Validation/LoginUserV1Form.php b/src/EconumoBundle/UI/Controller/Api/User/User/Validation/LoginUserV1Form.php similarity index 92% rename from src/UI/Controller/Api/User/User/Validation/LoginUserV1Form.php rename to src/EconumoBundle/UI/Controller/Api/User/User/Validation/LoginUserV1Form.php index 19f1f994..44d8924f 100644 --- a/src/UI/Controller/Api/User/User/Validation/LoginUserV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/User/User/Validation/LoginUserV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\User\Validation; +namespace App\EconumoBundle\UI\Controller\Api\User\User\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/User/User/Validation/LogoutUserV1Form.php b/src/EconumoBundle/UI/Controller/Api/User/User/Validation/LogoutUserV1Form.php similarity index 91% rename from src/UI/Controller/Api/User/User/Validation/LogoutUserV1Form.php rename to src/EconumoBundle/UI/Controller/Api/User/User/Validation/LogoutUserV1Form.php index c18b9bd4..6010638b 100644 --- a/src/UI/Controller/Api/User/User/Validation/LogoutUserV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/User/User/Validation/LogoutUserV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\User\Validation; +namespace App\EconumoBundle\UI\Controller\Api\User\User\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/User/User/Validation/RegisterUserV1Form.php b/src/EconumoBundle/UI/Controller/Api/User/User/Validation/RegisterUserV1Form.php similarity index 94% rename from src/UI/Controller/Api/User/User/Validation/RegisterUserV1Form.php rename to src/EconumoBundle/UI/Controller/Api/User/User/Validation/RegisterUserV1Form.php index db6089a1..7730f0b9 100644 --- a/src/UI/Controller/Api/User/User/Validation/RegisterUserV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/User/User/Validation/RegisterUserV1Form.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\User\Validation; +namespace App\EconumoBundle\UI\Controller\Api\User\User\Validation; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; diff --git a/src/UI/Controller/Api/User/UserData/GetUserDataV1Controller.php b/src/EconumoBundle/UI/Controller/Api/User/UserData/GetUserDataV1Controller.php similarity index 76% rename from src/UI/Controller/Api/User/UserData/GetUserDataV1Controller.php rename to src/EconumoBundle/UI/Controller/Api/User/UserData/GetUserDataV1Controller.php index 116e679c..88cbc708 100644 --- a/src/UI/Controller/Api/User/UserData/GetUserDataV1Controller.php +++ b/src/EconumoBundle/UI/Controller/Api/User/UserData/GetUserDataV1Controller.php @@ -2,18 +2,18 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\UserData; +namespace App\EconumoBundle\UI\Controller\Api\User\UserData; -use App\Application\User\UserDataService; -use App\Application\User\Dto\GetUserDataV1RequestDto; -use App\UI\Controller\Api\User\UserData\Validation\GetUserDataV1Form; -use App\Application\Exception\ValidationException; -use App\Domain\Entity\User; +use App\EconumoBundle\Application\User\UserDataService; +use App\EconumoBundle\Application\User\Dto\GetUserDataV1RequestDto; +use App\EconumoBundle\UI\Controller\Api\User\UserData\Validation\GetUserDataV1Form; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Entity\User; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; -use App\UI\Service\Validator\ValidatorInterface; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\Routing\Annotation\Route; use Nelmio\ApiDocBundle\Annotation\Model; use OpenApi\Annotations as OA; @@ -37,7 +37,7 @@ public function __construct(private readonly UserDataService $userDataService, p * @OA\Schema( * @OA\Property( * property="data", - * ref=@Model(type=\App\Application\User\Dto\GetUserDataV1ResultDto::class) + * ref=@Model(type=\App\EconumoBundle\Application\User\Dto\GetUserDataV1ResultDto::class) * ) * ) * } diff --git a/src/UI/Controller/Api/User/UserData/Validation/GetUserDataV1Form.php b/src/EconumoBundle/UI/Controller/Api/User/UserData/Validation/GetUserDataV1Form.php similarity index 80% rename from src/UI/Controller/Api/User/UserData/Validation/GetUserDataV1Form.php rename to src/EconumoBundle/UI/Controller/Api/User/UserData/Validation/GetUserDataV1Form.php index 8d0ecc53..c135e902 100644 --- a/src/UI/Controller/Api/User/UserData/Validation/GetUserDataV1Form.php +++ b/src/EconumoBundle/UI/Controller/Api/User/UserData/Validation/GetUserDataV1Form.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Controller\Api\User\UserData\Validation; +namespace App\EconumoBundle\UI\Controller\Api\User\UserData\Validation; -use App\UI\Service\Validator\ValueObjectValidationFactoryInterface; +use App\EconumoBundle\UI\Service\Validator\ValueObjectValidationFactoryInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; diff --git a/src/UI/Controller/HealthCheckController.php b/src/EconumoBundle/UI/Controller/HealthCheckController.php similarity index 96% rename from src/UI/Controller/HealthCheckController.php rename to src/EconumoBundle/UI/Controller/HealthCheckController.php index a44ed9ad..1ccfce74 100644 --- a/src/UI/Controller/HealthCheckController.php +++ b/src/EconumoBundle/UI/Controller/HealthCheckController.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller; +namespace App\EconumoBundle\UI\Controller; use Doctrine\ORM\EntityManagerInterface; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; diff --git a/src/UI/Controller/LoadTestingController.php b/src/EconumoBundle/UI/Controller/LoadTestingController.php similarity index 93% rename from src/UI/Controller/LoadTestingController.php rename to src/EconumoBundle/UI/Controller/LoadTestingController.php index bf3b2153..022adf5d 100644 --- a/src/UI/Controller/LoadTestingController.php +++ b/src/EconumoBundle/UI/Controller/LoadTestingController.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Controller; +namespace App\EconumoBundle\UI\Controller; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; diff --git a/src/UI/Middleware/AcceptUserLanguage/LocaleSubscriber.php b/src/EconumoBundle/UI/Middleware/AcceptUserLanguage/LocaleSubscriber.php similarity index 94% rename from src/UI/Middleware/AcceptUserLanguage/LocaleSubscriber.php rename to src/EconumoBundle/UI/Middleware/AcceptUserLanguage/LocaleSubscriber.php index fabd45f4..a911edd5 100644 --- a/src/UI/Middleware/AcceptUserLanguage/LocaleSubscriber.php +++ b/src/EconumoBundle/UI/Middleware/AcceptUserLanguage/LocaleSubscriber.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Middleware\AcceptUserLanguage; +namespace App\EconumoBundle\UI\Middleware\AcceptUserLanguage; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpFoundation\HeaderUtils; diff --git a/src/UI/Middleware/HttpApiResponse/HttpApiExceptionListener.php b/src/EconumoBundle/UI/Middleware/HttpApiResponse/HttpApiExceptionListener.php similarity index 86% rename from src/UI/Middleware/HttpApiResponse/HttpApiExceptionListener.php rename to src/EconumoBundle/UI/Middleware/HttpApiResponse/HttpApiExceptionListener.php index 63d69d2b..bd58bcc0 100644 --- a/src/UI/Middleware/HttpApiResponse/HttpApiExceptionListener.php +++ b/src/EconumoBundle/UI/Middleware/HttpApiResponse/HttpApiExceptionListener.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace App\UI\Middleware\HttpApiResponse; +namespace App\EconumoBundle\UI\Middleware\HttpApiResponse; -use App\Application\Exception\ValidationException; -use App\Domain\Exception\AccessDeniedException as DomainAccessDeniedException; -use App\UI\Service\Response\ResponseFactory; +use App\EconumoBundle\Application\Exception\ValidationException; +use App\EconumoBundle\Domain\Exception\AccessDeniedException as DomainAccessDeniedException; +use App\EconumoBundle\UI\Service\Response\ResponseFactory; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpKernel\Event\ExceptionEvent; diff --git a/src/UI/Middleware/ProtectSystemApi/ProtectSystemApiListener.php b/src/EconumoBundle/UI/Middleware/ProtectSystemApi/ProtectSystemApiListener.php similarity index 90% rename from src/UI/Middleware/ProtectSystemApi/ProtectSystemApiListener.php rename to src/EconumoBundle/UI/Middleware/ProtectSystemApi/ProtectSystemApiListener.php index 8d05b9ed..df385fae 100644 --- a/src/UI/Middleware/ProtectSystemApi/ProtectSystemApiListener.php +++ b/src/EconumoBundle/UI/Middleware/ProtectSystemApi/ProtectSystemApiListener.php @@ -2,8 +2,9 @@ declare(strict_types=1); -namespace App\UI\Middleware\ProtectSystemApi; +namespace App\EconumoBundle\UI\Middleware\ProtectSystemApi; +use App\EconumoBundle\UI\Middleware\ProtectSystemApi\SystemApiInterface; use RuntimeException; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpKernel\Event\ControllerEvent; diff --git a/src/UI/Middleware/ProtectSystemApi/SystemApiInterface.php b/src/EconumoBundle/UI/Middleware/ProtectSystemApi/SystemApiInterface.php similarity index 53% rename from src/UI/Middleware/ProtectSystemApi/SystemApiInterface.php rename to src/EconumoBundle/UI/Middleware/ProtectSystemApi/SystemApiInterface.php index 214b5fc5..48bcc2a9 100644 --- a/src/UI/Middleware/ProtectSystemApi/SystemApiInterface.php +++ b/src/EconumoBundle/UI/Middleware/ProtectSystemApi/SystemApiInterface.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Middleware\ProtectSystemApi; +namespace App\EconumoBundle\UI\Middleware\ProtectSystemApi; interface SystemApiInterface { diff --git a/src/UI/Service/Dto/OperationDto.php b/src/EconumoBundle/UI/Service/Dto/OperationDto.php similarity index 63% rename from src/UI/Service/Dto/OperationDto.php rename to src/EconumoBundle/UI/Service/Dto/OperationDto.php index b8d51709..f6c6190d 100644 --- a/src/UI/Service/Dto/OperationDto.php +++ b/src/EconumoBundle/UI/Service/Dto/OperationDto.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Service\Dto; +namespace App\EconumoBundle\UI\Service\Dto; -use App\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; use Symfony\Component\Lock\LockInterface; class OperationDto diff --git a/src/UI/Service/OperationServiceInterface.php b/src/EconumoBundle/UI/Service/OperationServiceInterface.php similarity index 55% rename from src/UI/Service/OperationServiceInterface.php rename to src/EconumoBundle/UI/Service/OperationServiceInterface.php index 756381f7..4cfaed80 100644 --- a/src/UI/Service/OperationServiceInterface.php +++ b/src/EconumoBundle/UI/Service/OperationServiceInterface.php @@ -2,10 +2,10 @@ declare(strict_types=1); -namespace App\UI\Service; +namespace App\EconumoBundle\UI\Service; -use App\Domain\Entity\ValueObject\Id; -use App\UI\Service\Dto\OperationDto; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\UI\Service\Dto\OperationDto; interface OperationServiceInterface { diff --git a/src/UI/Service/Response/ResponseFactory.php b/src/EconumoBundle/UI/Service/Response/ResponseFactory.php similarity index 97% rename from src/UI/Service/Response/ResponseFactory.php rename to src/EconumoBundle/UI/Service/Response/ResponseFactory.php index 04574af3..7bf2edeb 100644 --- a/src/UI/Service/Response/ResponseFactory.php +++ b/src/EconumoBundle/UI/Service/Response/ResponseFactory.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace App\UI\Service\Response; +namespace App\EconumoBundle\UI\Service\Response; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Request; diff --git a/src/UI/Service/Validator/RequestFormValidationHelper.php b/src/EconumoBundle/UI/Service/Validator/RequestFormValidationHelper.php similarity index 92% rename from src/UI/Service/Validator/RequestFormValidationHelper.php rename to src/EconumoBundle/UI/Service/Validator/RequestFormValidationHelper.php index b62857a8..dc5b52ae 100644 --- a/src/UI/Service/Validator/RequestFormValidationHelper.php +++ b/src/EconumoBundle/UI/Service/Validator/RequestFormValidationHelper.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Service\Validator; +namespace App\EconumoBundle\UI\Service\Validator; -use App\Application\Exception\ValidationException; +use App\EconumoBundle\Application\Exception\ValidationException; use Symfony\Component\Form\FormError; use Symfony\Component\Form\FormInterface; use Symfony\Component\Form\FormView; diff --git a/src/UI/Service/Validator/Validator.php b/src/EconumoBundle/UI/Service/Validator/Validator.php similarity index 72% rename from src/UI/Service/Validator/Validator.php rename to src/EconumoBundle/UI/Service/Validator/Validator.php index 96743a68..1b2484fc 100644 --- a/src/UI/Service/Validator/Validator.php +++ b/src/EconumoBundle/UI/Service/Validator/Validator.php @@ -2,8 +2,10 @@ declare(strict_types=1); -namespace App\UI\Service\Validator; +namespace App\EconumoBundle\UI\Service\Validator; +use App\EconumoBundle\UI\Service\Validator\RequestFormValidationHelper; +use App\EconumoBundle\UI\Service\Validator\ValidatorInterface; use Symfony\Component\Form\FormFactoryInterface; class Validator implements ValidatorInterface diff --git a/src/UI/Service/Validator/ValidatorInterface.php b/src/EconumoBundle/UI/Service/Validator/ValidatorInterface.php similarity index 72% rename from src/UI/Service/Validator/ValidatorInterface.php rename to src/EconumoBundle/UI/Service/Validator/ValidatorInterface.php index da2e5854..f5d09eec 100644 --- a/src/UI/Service/Validator/ValidatorInterface.php +++ b/src/EconumoBundle/UI/Service/Validator/ValidatorInterface.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Service\Validator; +namespace App\EconumoBundle\UI\Service\Validator; -use App\Application\Exception\ValidationException; +use App\EconumoBundle\Application\Exception\ValidationException; interface ValidatorInterface { diff --git a/src/UI/Service/Validator/ValueObjectValidationFactoryInterface.php b/src/EconumoBundle/UI/Service/Validator/ValueObjectValidationFactoryInterface.php similarity index 62% rename from src/UI/Service/Validator/ValueObjectValidationFactoryInterface.php rename to src/EconumoBundle/UI/Service/Validator/ValueObjectValidationFactoryInterface.php index 52e9a409..8a345392 100644 --- a/src/UI/Service/Validator/ValueObjectValidationFactoryInterface.php +++ b/src/EconumoBundle/UI/Service/Validator/ValueObjectValidationFactoryInterface.php @@ -2,9 +2,9 @@ declare(strict_types=1); -namespace App\UI\Service\Validator; +namespace App\EconumoBundle\UI\Service\Validator; -use App\Domain\Entity\ValueObject\ValueObjectInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\ValueObjectInterface; use Symfony\Component\Validator\Constraint; interface ValueObjectValidationFactoryInterface diff --git a/src/Kernel.php b/src/Kernel.php index 992098b0..b69459f2 100644 --- a/src/Kernel.php +++ b/src/Kernel.php @@ -2,7 +2,7 @@ namespace App; -use App\Domain\Service\EventHandlerInterface; +use App\EconumoBundle\Domain\Service\EventHandlerInterface; use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; use Symfony\Component\Config\Loader\LoaderInterface; use Symfony\Component\Config\Resource\FileResource; diff --git a/tests/Helper/Api.php b/tests/Helper/Api.php index a6a8615a..aa88f7e7 100644 --- a/tests/Helper/Api.php +++ b/tests/Helper/Api.php @@ -4,7 +4,7 @@ // here you can define custom actions // all public methods declared in helper class will be available in $I -use App\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; use Ramsey\Uuid\Uuid; class Api extends \Codeception\Module @@ -13,7 +13,7 @@ class Api extends \Codeception\Module use ContainerTrait; /** - * @return \App\Domain\Entity\ValueObject\Id + * @return \App\EconumoBundle\Domain\Entity\ValueObject\Id * @throws \Exception */ public function generateId(): Id diff --git a/tests/Helper/AuthenticationTrait.php b/tests/Helper/AuthenticationTrait.php index 25a653de..1bb7031d 100644 --- a/tests/Helper/AuthenticationTrait.php +++ b/tests/Helper/AuthenticationTrait.php @@ -6,8 +6,8 @@ namespace App\Tests\Helper; -use App\Domain\Entity\ValueObject\Email; -use App\Domain\Repository\UserRepositoryInterface; +use App\EconumoBundle\Domain\Entity\ValueObject\Email; +use App\EconumoBundle\Domain\Repository\UserRepositoryInterface; use Lexik\Bundle\JWTAuthenticationBundle\Services\JWTTokenManagerInterface; trait AuthenticationTrait diff --git a/tests/Helper/Functional.php b/tests/Helper/Functional.php index 9ab4eb8a..d28cd911 100644 --- a/tests/Helper/Functional.php +++ b/tests/Helper/Functional.php @@ -5,7 +5,7 @@ // here you can define custom actions // all public methods declared in helper class will be available in $I -use App\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; use Ramsey\Uuid\Uuid; class Functional extends \Codeception\Module @@ -14,7 +14,7 @@ class Functional extends \Codeception\Module use ContainerTrait; /** - * @return \App\Domain\Entity\ValueObject\Id + * @return \App\EconumoBundle\Domain\Entity\ValueObject\Id * @throws \Exception */ public function generateId(): Id diff --git a/tests/Helper/Integrational.php b/tests/Helper/Integrational.php index 46af5fc7..7b7b3209 100644 --- a/tests/Helper/Integrational.php +++ b/tests/Helper/Integrational.php @@ -6,7 +6,7 @@ // all public methods declared in helper class will be available in $I -use App\Domain\Entity\ValueObject\Id; +use App\EconumoBundle\Domain\Entity\ValueObject\Id; use Ramsey\Uuid\Uuid; class Integrational extends \Codeception\Module @@ -14,7 +14,7 @@ class Integrational extends \Codeception\Module use ContainerTrait; /** - * @return \App\Domain\Entity\ValueObject\Id + * @return \App\EconumoBundle\Domain\Entity\ValueObject\Id * @throws \Exception */ public function generateId(): Id diff --git a/tests/functional/api/v1/user/RemindPasswordCest.php b/tests/functional/api/v1/user/RemindPasswordCest.php index 5d8d5264..b3382698 100644 --- a/tests/functional/api/v1/user/RemindPasswordCest.php +++ b/tests/functional/api/v1/user/RemindPasswordCest.php @@ -4,7 +4,7 @@ namespace App\Tests\functional\api\v1\user; -use App\Domain\Events\RemindPasswordRequestedEvent; +use App\EconumoBundle\Domain\Events\RemindPasswordRequestedEvent; use App\Tests\FunctionalTester; use Codeception\Util\HttpCode; use Symfony\Component\Messenger\Transport\Receiver\ReceiverInterface; diff --git a/tests/unit/App/Domain/Entity/TransactionTest.php b/tests/unit/App/Domain/Entity/TransactionTest.php index 09a82ff0..451fd213 100644 --- a/tests/unit/App/Domain/Entity/TransactionTest.php +++ b/tests/unit/App/Domain/Entity/TransactionTest.php @@ -1,6 +1,6 @@