├── .env ├── .github ├── FUNDING.yml └── workflows │ ├── ci.yml │ └── labeler.yml ├── .gitignore ├── Dockerfile ├── Makefile ├── README.md ├── apps ├── backoffice │ ├── backend │ │ ├── bin │ │ │ └── console │ │ ├── config │ │ │ ├── bundles.php │ │ │ ├── routes │ │ │ │ ├── courses.yaml │ │ │ │ ├── health-check.yaml │ │ │ │ └── metrics.yaml │ │ │ ├── services.yaml │ │ │ ├── services │ │ │ │ └── framework.yaml │ │ │ └── services_test.yaml │ │ ├── public │ │ │ └── index.php │ │ ├── src │ │ │ ├── BackofficeBackendKernel.php │ │ │ └── Controller │ │ │ │ ├── Courses │ │ │ │ └── CoursesGetController.php │ │ │ │ ├── HealthCheck │ │ │ │ └── HealthCheckGetController.php │ │ │ │ └── Metrics │ │ │ │ └── MetricsController.php │ │ └── var │ │ │ └── .gitkeep │ └── frontend │ │ ├── bin │ │ └── console │ │ ├── config │ │ ├── bundles.php │ │ ├── routes │ │ │ ├── api_courses.yaml │ │ │ ├── courses.yaml │ │ │ ├── health-check.yaml │ │ │ ├── home.yaml │ │ │ └── metrics.yaml │ │ ├── services.yaml │ │ ├── services │ │ │ └── framework.yaml │ │ └── services_test.yaml │ │ ├── public │ │ ├── images │ │ │ └── logo.png │ │ └── index.php │ │ ├── src │ │ ├── BackofficeFrontendKernel.php │ │ ├── Command │ │ │ └── ImportCoursesToElasticsearchCommand.php │ │ └── Controller │ │ │ ├── Courses │ │ │ ├── CoursesGetWebController.php │ │ │ └── CoursesPostWebController.php │ │ │ ├── HealthCheck │ │ │ └── HealthCheckGetController.php │ │ │ ├── Home │ │ │ └── HomeGetWebController.php │ │ │ └── Metrics │ │ │ └── MetricsController.php │ │ ├── templates │ │ ├── master.html.twig │ │ ├── pages │ │ │ ├── courses │ │ │ │ ├── courses.html.twig │ │ │ │ └── partials │ │ │ │ │ ├── list_courses.html.twig │ │ │ │ │ └── new_course_form.html.twig │ │ │ └── home.html.twig │ │ └── partials │ │ │ ├── footer.html.twig │ │ │ └── header.html.twig │ │ └── var │ │ └── .gitkeep ├── bootstrap.php └── mooc │ ├── backend │ ├── bin │ │ └── console │ ├── config │ │ ├── bundles.php │ │ ├── routes │ │ │ ├── courses.yaml │ │ │ ├── courses_counter.yaml │ │ │ ├── health-check.yaml │ │ │ └── metrics.yaml │ │ ├── services.yaml │ │ ├── services │ │ │ └── framework.yaml │ │ └── services_test.yaml │ ├── public │ │ └── index.php │ ├── src │ │ ├── Command │ │ │ └── DomainEvents │ │ │ │ ├── MySql │ │ │ │ └── ConsumeMySqlDomainEventsCommand.php │ │ │ │ ├── PublishDomainEventsFromMutationsCommand.php │ │ │ │ └── RabbitMq │ │ │ │ ├── ConfigureRabbitMqCommand.php │ │ │ │ ├── ConsumeRabbitMqDomainEventsCommand.php │ │ │ │ └── GenerateSupervisorRabbitMqConsumerFilesCommand.php │ │ ├── Controller │ │ │ ├── Courses │ │ │ │ └── CoursesPutController.php │ │ │ ├── CoursesCounter │ │ │ │ └── CoursesCounterGetController.php │ │ │ ├── HealthCheck │ │ │ │ └── HealthCheckGetController.php │ │ │ └── Metrics │ │ │ │ └── MetricsController.php │ │ └── MoocBackendKernel.php │ ├── tests │ │ ├── features │ │ │ ├── courses │ │ │ │ └── course_put.feature │ │ │ ├── courses_counter │ │ │ │ └── courses_counter_get.feature │ │ │ └── health_check │ │ │ │ └── health_check_get.feature │ │ └── mooc_backend.yml │ └── var │ │ └── .gitkeep │ └── frontend │ ├── src │ └── .gitkeep │ └── var │ └── .gitkeep ├── behat.yml ├── composer.json ├── composer.lock ├── docker-compose.yml ├── ecs.php ├── etc ├── databases │ ├── backoffice │ │ └── courses.json │ └── mooc.sql ├── endpoints │ ├── backoffice_frontend.http │ └── mooc_backend.http ├── infrastructure │ └── php │ │ ├── conf.d │ │ ├── apcu.ini │ │ ├── opcache.ini │ │ └── xdebug.ini │ │ └── php.ini └── prometheus │ └── prometheus.yml ├── phpmd.xml ├── phpstan.neon ├── phpunit.xml ├── psalm.xml ├── rector.php ├── src ├── Analytics │ └── DomainEvents │ │ ├── Application │ │ └── Store │ │ │ ├── DomainEventStorer.php │ │ │ └── StoreDomainEventOnOccurred.php │ │ └── Domain │ │ ├── AnalyticsDomainEvent.php │ │ ├── AnalyticsDomainEventAggregateId.php │ │ ├── AnalyticsDomainEventBody.php │ │ ├── AnalyticsDomainEventId.php │ │ ├── AnalyticsDomainEventName.php │ │ └── DomainEventsRepository.php ├── Backoffice │ ├── Auth │ │ ├── Application │ │ │ └── Authenticate │ │ │ │ ├── AuthenticateUserCommand.php │ │ │ │ ├── AuthenticateUserCommandHandler.php │ │ │ │ └── UserAuthenticator.php │ │ ├── Domain │ │ │ ├── AuthPassword.php │ │ │ ├── AuthRepository.php │ │ │ ├── AuthUser.php │ │ │ ├── AuthUsername.php │ │ │ ├── InvalidAuthCredentials.php │ │ │ └── InvalidAuthUsername.php │ │ └── Infrastructure │ │ │ └── Persistence │ │ │ └── InMemoryAuthRepository.php │ ├── Courses │ │ ├── Application │ │ │ ├── BackofficeCourseResponse.php │ │ │ ├── BackofficeCoursesResponse.php │ │ │ ├── Create │ │ │ │ ├── BackofficeCourseCreator.php │ │ │ │ └── CreateBackofficeCourseOnCourseCreated.php │ │ │ ├── SearchAll │ │ │ │ ├── AllBackofficeCoursesSearcher.php │ │ │ │ ├── SearchAllBackofficeCoursesQuery.php │ │ │ │ └── SearchAllBackofficeCoursesQueryHandler.php │ │ │ └── SearchByCriteria │ │ │ │ ├── BackofficeCoursesByCriteriaSearcher.php │ │ │ │ ├── SearchBackofficeCoursesByCriteriaQuery.php │ │ │ │ └── SearchBackofficeCoursesByCriteriaQueryHandler.php │ │ ├── Domain │ │ │ ├── BackofficeCourse.php │ │ │ └── BackofficeCourseRepository.php │ │ └── Infrastructure │ │ │ └── Persistence │ │ │ ├── Doctrine │ │ │ └── BackofficeCourse.orm.xml │ │ │ ├── ElasticsearchBackofficeCourseRepository.php │ │ │ ├── InMemoryCacheBackofficeCourseRepository.php │ │ │ └── MySqlBackofficeCourseRepository.php │ └── Shared │ │ └── Infrastructure │ │ └── Symfony │ │ └── DependencyInjection │ │ └── backoffice_services.yaml ├── Mooc │ ├── Courses │ │ ├── Application │ │ │ ├── Create │ │ │ │ ├── CourseCreator.php │ │ │ │ ├── CreateCourseCommand.php │ │ │ │ └── CreateCourseCommandHandler.php │ │ │ ├── Find │ │ │ │ └── CourseFinder.php │ │ │ └── Update │ │ │ │ └── CourseRenamer.php │ │ ├── Domain │ │ │ ├── Course.php │ │ │ ├── CourseCreatedDomainEvent.php │ │ │ ├── CourseDuration.php │ │ │ ├── CourseName.php │ │ │ ├── CourseNotExist.php │ │ │ └── CourseRepository.php │ │ └── Infrastructure │ │ │ ├── Cdc │ │ │ └── DatabaseMutationToCourseCreatedDomainEvent.php │ │ │ └── Persistence │ │ │ ├── Doctrine │ │ │ ├── Course.orm.xml │ │ │ ├── CourseDuration.orm.xml │ │ │ ├── CourseIdType.php │ │ │ └── CourseName.orm.xml │ │ │ ├── DoctrineCourseRepository.php │ │ │ └── FileCourseRepository.php │ ├── CoursesCounter │ │ ├── Application │ │ │ ├── Find │ │ │ │ ├── CoursesCounterFinder.php │ │ │ │ ├── CoursesCounterResponse.php │ │ │ │ ├── FindCoursesCounterQuery.php │ │ │ │ └── FindCoursesCounterQueryHandler.php │ │ │ └── Increment │ │ │ │ ├── CoursesCounterIncrementer.php │ │ │ │ └── IncrementCoursesCounterOnCourseCreated.php │ │ ├── Domain │ │ │ ├── CoursesCounter.php │ │ │ ├── CoursesCounterId.php │ │ │ ├── CoursesCounterIncrementedDomainEvent.php │ │ │ ├── CoursesCounterNotExist.php │ │ │ ├── CoursesCounterRepository.php │ │ │ └── CoursesCounterTotal.php │ │ └── Infrastructure │ │ │ └── Persistence │ │ │ ├── Doctrine │ │ │ ├── CourseCounterIdType.php │ │ │ ├── CourseIdsType.php │ │ │ ├── CoursesCounter.orm.xml │ │ │ └── CoursesCounterTotal.orm.xml │ │ │ └── DoctrineCoursesCounterRepository.php │ ├── Notifications │ │ └── Application │ │ │ ├── SendNewCommentReplyEmail │ │ │ └── .gitkeep │ │ │ ├── SendNewCommentReplyPush │ │ │ └── .gitkeep │ │ │ └── SendResetPasswordEmail │ │ │ └── .gitkeep │ ├── Shared │ │ ├── Domain │ │ │ ├── Courses │ │ │ │ └── CourseId.php │ │ │ └── Videos │ │ │ │ └── VideoUrl.php │ │ └── Infrastructure │ │ │ ├── Doctrine │ │ │ ├── DbalTypesSearcher.php │ │ │ ├── DoctrinePrefixesSearcher.php │ │ │ └── MoocEntityManagerFactory.php │ │ │ └── Symfony │ │ │ └── DependencyInjection │ │ │ └── mooc_services.yaml │ ├── Steps │ │ ├── Application │ │ │ └── Create │ │ │ │ ├── CreateVideoStepCommandHandler.php │ │ │ │ └── VideoStepCreator.php │ │ ├── Domain │ │ │ ├── Exercise │ │ │ │ ├── ExerciseStep.php │ │ │ │ └── ExerciseStepContent.php │ │ │ ├── Quiz │ │ │ │ ├── QuizStep.php │ │ │ │ └── QuizStepQuestion.php │ │ │ ├── Step.php │ │ │ ├── StepDuration.php │ │ │ ├── StepId.php │ │ │ ├── StepRepository.php │ │ │ ├── StepTitle.php │ │ │ └── Video │ │ │ │ ├── VideoStep.php │ │ │ │ └── VideoStepUrl.php │ │ └── Infrastructure │ │ │ └── Persistence │ │ │ ├── Doctrine │ │ │ ├── Exercise.ExerciseStep.orm.xml │ │ │ ├── Exercise.ExerciseStepContent.orm.xml │ │ │ ├── Quiz.QuizStep.orm.xml │ │ │ ├── QuizStepQuestionsType.php │ │ │ ├── Step.orm.xml │ │ │ ├── StepDuration.orm.xml │ │ │ ├── StepIdType.php │ │ │ ├── StepTitle.orm.xml │ │ │ ├── Video.VideoStep.orm.xml │ │ │ └── Video.VideoStepUrl.orm.xml │ │ │ └── MySqlStepRepository.php │ └── Videos │ │ ├── Application │ │ ├── Create │ │ │ ├── CreateVideoCommand.php │ │ │ ├── CreateVideoCommandHandler.php │ │ │ └── VideoCreator.php │ │ ├── Find │ │ │ ├── FindVideoQuery.php │ │ │ ├── FindVideoQueryHandler.php │ │ │ ├── VideoFinder.php │ │ │ ├── VideoResponse.php │ │ │ └── VideoResponseConverter.php │ │ ├── Trim │ │ │ ├── TrimVideoCommand.php │ │ │ ├── TrimVideoCommandHandler.php │ │ │ └── VideoTrimmer.php │ │ └── Update │ │ │ └── VideoTitleUpdater.php │ │ ├── Domain │ │ ├── Video.php │ │ ├── VideoCreatedDomainEvent.php │ │ ├── VideoFinder.php │ │ ├── VideoId.php │ │ ├── VideoNotFound.php │ │ ├── VideoRepository.php │ │ ├── VideoTitle.php │ │ ├── VideoType.php │ │ └── Videos.php │ │ └── Infrastructure │ │ └── Persistence │ │ ├── Doctrine │ │ ├── Video.orm.xml │ │ ├── VideoIdType.php │ │ ├── VideoTitle.orm.xml │ │ └── VideoType.orm.xml │ │ └── VideoRepositoryMySql.php ├── Retention │ ├── Campaign │ │ ├── Application │ │ │ ├── NewCourseAvailable │ │ │ │ ├── Schedule │ │ │ │ │ └── .gitkeep │ │ │ │ └── Trigger │ │ │ │ │ └── .gitkeep │ │ │ └── WelcomeUser │ │ │ │ └── Trigger │ │ │ │ └── .gitkeep │ │ ├── Domain │ │ │ └── .gitkeep │ │ └── Infrastructure │ │ │ └── .gitkeep │ ├── Email │ │ ├── Application │ │ │ ├── SendNewCourseAvailable │ │ │ │ └── .gitkeep │ │ │ └── SendWelcomeUser │ │ │ │ └── .gitkeep │ │ ├── Domain │ │ │ └── .gitkeep │ │ └── Infrastructure │ │ │ └── .gitkeep │ ├── Push │ │ ├── Application │ │ │ └── SendNewCourseAvailable │ │ │ │ └── .gitkeep │ │ ├── Domain │ │ │ └── .gitkeep │ │ └── Infrastructure │ │ │ └── .gitkeep │ └── Sms │ │ ├── Application │ │ └── .gitkeep │ │ ├── Domain │ │ └── .gitkeep │ │ └── Infrastructure │ │ └── .gitkeep └── Shared │ ├── Domain │ ├── Aggregate │ │ └── AggregateRoot.php │ ├── Assert.php │ ├── Bus │ │ ├── Command │ │ │ ├── Command.php │ │ │ ├── CommandBus.php │ │ │ └── CommandHandler.php │ │ ├── Event │ │ │ ├── DomainEvent.php │ │ │ ├── DomainEventSubscriber.php │ │ │ └── EventBus.php │ │ └── Query │ │ │ ├── Query.php │ │ │ ├── QueryBus.php │ │ │ ├── QueryHandler.php │ │ │ └── Response.php │ ├── Collection.php │ ├── Criteria │ │ ├── Criteria.php │ │ ├── Filter.php │ │ ├── FilterField.php │ │ ├── FilterOperator.php │ │ ├── FilterValue.php │ │ ├── Filters.php │ │ ├── Order.php │ │ ├── OrderBy.php │ │ └── OrderType.php │ ├── DomainError.php │ ├── Logger.php │ ├── Monitoring.php │ ├── RandomNumberGenerator.php │ ├── Second.php │ ├── SecondsInterval.php │ ├── Utils.php │ ├── UuidGenerator.php │ └── ValueObject │ │ ├── IntValueObject.php │ │ ├── SimpleUuid.php │ │ ├── StringValueObject.php │ │ └── Uuid.php │ └── Infrastructure │ ├── Bus │ ├── CallableFirstParameterExtractor.php │ ├── Command │ │ ├── CommandNotRegisteredError.php │ │ └── InMemorySymfonyCommandBus.php │ ├── Event │ │ ├── DomainEventJsonDeserializer.php │ │ ├── DomainEventJsonSerializer.php │ │ ├── DomainEventMapping.php │ │ ├── DomainEventSubscriberLocator.php │ │ ├── InMemory │ │ │ └── InMemorySymfonyEventBus.php │ │ ├── MySql │ │ │ ├── MySqlDoctrineDomainEventsConsumer.php │ │ │ └── MySqlDoctrineEventBus.php │ │ ├── RabbitMq │ │ │ ├── RabbitMqConfigurer.php │ │ │ ├── RabbitMqConnection.php │ │ │ ├── RabbitMqDomainEventsConsumer.php │ │ │ ├── RabbitMqEventBus.php │ │ │ ├── RabbitMqExchangeNameFormatter.php │ │ │ └── RabbitMqQueueNameFormatter.php │ │ └── WithMonitoring │ │ │ └── WithPrometheusMonitoringEventBus.php │ └── Query │ │ ├── InMemorySymfonyQueryBus.php │ │ └── QueryNotRegisteredError.php │ ├── Cdc │ ├── DatabaseMutationAction.php │ └── DatabaseMutationToDomainEvent.php │ ├── Doctrine │ ├── DatabaseConnections.php │ ├── Dbal │ │ ├── DbalCustomTypesRegistrar.php │ │ └── DoctrineCustomType.php │ └── DoctrineEntityManagerFactory.php │ ├── Elasticsearch │ ├── ElasticsearchClient.php │ └── ElasticsearchClientFactory.php │ ├── Logger │ └── MonologLogger.php │ ├── Monitoring │ └── PrometheusMonitor.php │ ├── Persistence │ ├── Doctrine │ │ ├── DoctrineCriteriaConverter.php │ │ ├── DoctrineRepository.php │ │ └── UuidType.php │ └── Elasticsearch │ │ ├── ElasticQueryGenerator.php │ │ ├── ElasticsearchCriteriaConverter.php │ │ └── ElasticsearchRepository.php │ ├── PhpRandomNumberGenerator.php │ ├── RamseyUuidGenerator.php │ └── Symfony │ ├── AddJsonBodyToRequestListener.php │ ├── ApiController.php │ ├── ApiExceptionListener.php │ ├── ApiExceptionsHttpStatusCodeMapping.php │ ├── BasicHttpAuthMiddleware.php │ ├── FlashSession.php │ └── WebController.php └── tests ├── Backoffice ├── Auth │ ├── Application │ │ └── Authenticate │ │ │ ├── AuthenticateUserCommandHandlerTest.php │ │ │ └── AuthenticateUserCommandMother.php │ ├── AuthModuleUnitTestCase.php │ └── Domain │ │ ├── AuthPasswordMother.php │ │ ├── AuthUserMother.php │ │ └── AuthUsernameMother.php ├── Courses │ ├── BackofficeCoursesModuleInfrastructureTestCase.php │ ├── Domain │ │ ├── BackofficeCourseCriteriaMother.php │ │ └── BackofficeCourseMother.php │ └── Infrastructure │ │ └── Persistence │ │ ├── ElasticsearchBackofficeCourseRepositoryTest.php │ │ └── MySqlBackofficeCourseRepositoryTest.php └── Shared │ └── Infraestructure │ └── PhpUnit │ ├── BackofficeContextInfrastructureTestCase.php │ └── BackofficeEnvironmentArranger.php ├── Mooc ├── Courses │ ├── Application │ │ ├── Create │ │ │ ├── CreateCourseCommandHandlerTest.php │ │ │ └── CreateCourseCommandMother.php │ │ └── Update │ │ │ └── CourseRenamerTest.php │ ├── CoursesModuleInfrastructureTestCase.php │ ├── CoursesModuleUnitTestCase.php │ ├── Domain │ │ ├── CourseCreatedDomainEventMother.php │ │ ├── CourseDurationMother.php │ │ ├── CourseIdMother.php │ │ ├── CourseMother.php │ │ └── CourseNameMother.php │ └── Infrastructure │ │ └── Persistence │ │ └── CourseRepositoryTest.php ├── CoursesCounter │ ├── Application │ │ ├── Find │ │ │ ├── CoursesCounterResponseMother.php │ │ │ └── FindCoursesCounterQueryHandlerTest.php │ │ └── Increment │ │ │ └── IncrementCoursesCounterOnCourseCreatedTest.php │ ├── CoursesCounterModuleUnitTestCase.php │ └── Domain │ │ ├── CoursesCounterIdMother.php │ │ ├── CoursesCounterIncrementedDomainEventMother.php │ │ ├── CoursesCounterMother.php │ │ └── CoursesCounterTotalMother.php ├── MoocArchitectureTest.php ├── Shared │ ├── Domain │ │ └── .gitkeep │ └── Infrastructure │ │ └── PhpUnit │ │ ├── MoocContextInfrastructureTestCase.php │ │ └── MoocEnvironmentArranger.php ├── Steps │ ├── Domain │ │ ├── Exercise │ │ │ ├── ExerciseStepContentMother.php │ │ │ └── ExerciseStepMother.php │ │ ├── Quiz │ │ │ ├── QuizStepMother.php │ │ │ └── QuizStepQuestionMother.php │ │ ├── StepDurationMother.php │ │ ├── StepIdMother.php │ │ ├── StepTitleMother.php │ │ └── Video │ │ │ ├── VideoStepMother.php │ │ │ └── VideoStepUrlMother.php │ ├── Infrastructure │ │ └── Persistence │ │ │ └── MySqlStepRepositoryTest.php │ └── StepsModuleInfrastructureTestCase.php └── Videos │ ├── Application │ └── .gitkeep │ ├── Domain │ └── .gitkeep │ └── Infrastructure │ └── .gitkeep └── Shared ├── Domain ├── Criteria │ ├── CriteriaMother.php │ ├── FilterFieldMother.php │ ├── FilterMother.php │ ├── FilterValueMother.php │ ├── FiltersMother.php │ ├── OrderByMother.php │ └── OrderMother.php ├── DuplicatorMother.php ├── IntegerMother.php ├── MotherCreator.php ├── RandomElementPicker.php ├── Repeater.php ├── TestUtils.php ├── UuidMother.php └── WordMother.php ├── Infrastructure ├── ArchitectureTest.php ├── Arranger │ └── EnvironmentArranger.php ├── Behat │ ├── ApiContext.php │ └── ApplicationFeatureContext.php ├── Bus │ ├── Command │ │ ├── FakeCommand.php │ │ └── InMemorySymfonyCommandBusTest.php │ ├── Event │ │ ├── MySql │ │ │ └── MySqlDoctrineEventBusTest.php │ │ └── RabbitMq │ │ │ ├── RabbitMqEventBusTest.php │ │ │ └── TestAllWorksOnRabbitMqEventsPublished.php │ └── Query │ │ ├── FakeQuery.php │ │ ├── FakeResponse.php │ │ └── InMemorySymfonyQueryBusTest.php ├── ConstantRandomNumberGenerator.php ├── Doctrine │ └── MySqlDatabaseCleaner.php ├── Elastic │ └── ElasticDatabaseCleaner.php ├── Mink │ ├── MinkHelper.php │ └── MinkSessionRequestHelper.php ├── Mockery │ └── CodelyTvMatcherIsSimilar.php └── PhpUnit │ ├── Comparator │ ├── AggregateRootArraySimilarComparator.php │ ├── AggregateRootSimilarComparator.php │ ├── DateTimeSimilarComparator.php │ ├── DateTimeStringSimilarComparator.php │ ├── DomainEventArraySimilarComparator.php │ └── DomainEventSimilarComparator.php │ ├── Constraint │ └── CodelyTvConstraintIsSimilar.php │ ├── InfrastructureTestCase.php │ └── UnitTestCase.php └── SharedArchitectureTest.php /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/.env -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | custom: https://bit.ly/CodelyTvPro 2 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/labeler.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/.github/workflows/labeler.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/Dockerfile -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/README.md -------------------------------------------------------------------------------- /apps/backoffice/backend/bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/backend/bin/console -------------------------------------------------------------------------------- /apps/backoffice/backend/config/bundles.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/backend/config/bundles.php -------------------------------------------------------------------------------- /apps/backoffice/backend/config/routes/courses.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/backend/config/routes/courses.yaml -------------------------------------------------------------------------------- /apps/backoffice/backend/config/routes/health-check.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/backend/config/routes/health-check.yaml -------------------------------------------------------------------------------- /apps/backoffice/backend/config/routes/metrics.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/backend/config/routes/metrics.yaml -------------------------------------------------------------------------------- /apps/backoffice/backend/config/services.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/backend/config/services.yaml -------------------------------------------------------------------------------- /apps/backoffice/backend/config/services/framework.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/backend/config/services/framework.yaml -------------------------------------------------------------------------------- /apps/backoffice/backend/config/services_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/backend/config/services_test.yaml -------------------------------------------------------------------------------- /apps/backoffice/backend/public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/backend/public/index.php -------------------------------------------------------------------------------- /apps/backoffice/backend/src/BackofficeBackendKernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/backend/src/BackofficeBackendKernel.php -------------------------------------------------------------------------------- /apps/backoffice/backend/src/Controller/Courses/CoursesGetController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/backend/src/Controller/Courses/CoursesGetController.php -------------------------------------------------------------------------------- /apps/backoffice/backend/src/Controller/HealthCheck/HealthCheckGetController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/backend/src/Controller/HealthCheck/HealthCheckGetController.php -------------------------------------------------------------------------------- /apps/backoffice/backend/src/Controller/Metrics/MetricsController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/backend/src/Controller/Metrics/MetricsController.php -------------------------------------------------------------------------------- /apps/backoffice/backend/var/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/backoffice/frontend/bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/bin/console -------------------------------------------------------------------------------- /apps/backoffice/frontend/config/bundles.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/config/bundles.php -------------------------------------------------------------------------------- /apps/backoffice/frontend/config/routes/api_courses.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/config/routes/api_courses.yaml -------------------------------------------------------------------------------- /apps/backoffice/frontend/config/routes/courses.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/config/routes/courses.yaml -------------------------------------------------------------------------------- /apps/backoffice/frontend/config/routes/health-check.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/config/routes/health-check.yaml -------------------------------------------------------------------------------- /apps/backoffice/frontend/config/routes/home.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/config/routes/home.yaml -------------------------------------------------------------------------------- /apps/backoffice/frontend/config/routes/metrics.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/config/routes/metrics.yaml -------------------------------------------------------------------------------- /apps/backoffice/frontend/config/services.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/config/services.yaml -------------------------------------------------------------------------------- /apps/backoffice/frontend/config/services/framework.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/config/services/framework.yaml -------------------------------------------------------------------------------- /apps/backoffice/frontend/config/services_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/config/services_test.yaml -------------------------------------------------------------------------------- /apps/backoffice/frontend/public/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/public/images/logo.png -------------------------------------------------------------------------------- /apps/backoffice/frontend/public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/public/index.php -------------------------------------------------------------------------------- /apps/backoffice/frontend/src/BackofficeFrontendKernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/src/BackofficeFrontendKernel.php -------------------------------------------------------------------------------- /apps/backoffice/frontend/src/Command/ImportCoursesToElasticsearchCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/src/Command/ImportCoursesToElasticsearchCommand.php -------------------------------------------------------------------------------- /apps/backoffice/frontend/src/Controller/Courses/CoursesGetWebController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/src/Controller/Courses/CoursesGetWebController.php -------------------------------------------------------------------------------- /apps/backoffice/frontend/src/Controller/Courses/CoursesPostWebController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/src/Controller/Courses/CoursesPostWebController.php -------------------------------------------------------------------------------- /apps/backoffice/frontend/src/Controller/HealthCheck/HealthCheckGetController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/src/Controller/HealthCheck/HealthCheckGetController.php -------------------------------------------------------------------------------- /apps/backoffice/frontend/src/Controller/Home/HomeGetWebController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/src/Controller/Home/HomeGetWebController.php -------------------------------------------------------------------------------- /apps/backoffice/frontend/src/Controller/Metrics/MetricsController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/src/Controller/Metrics/MetricsController.php -------------------------------------------------------------------------------- /apps/backoffice/frontend/templates/master.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/templates/master.html.twig -------------------------------------------------------------------------------- /apps/backoffice/frontend/templates/pages/courses/courses.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/templates/pages/courses/courses.html.twig -------------------------------------------------------------------------------- /apps/backoffice/frontend/templates/pages/courses/partials/list_courses.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/templates/pages/courses/partials/list_courses.html.twig -------------------------------------------------------------------------------- /apps/backoffice/frontend/templates/pages/courses/partials/new_course_form.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/templates/pages/courses/partials/new_course_form.html.twig -------------------------------------------------------------------------------- /apps/backoffice/frontend/templates/pages/home.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/templates/pages/home.html.twig -------------------------------------------------------------------------------- /apps/backoffice/frontend/templates/partials/footer.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/templates/partials/footer.html.twig -------------------------------------------------------------------------------- /apps/backoffice/frontend/templates/partials/header.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/backoffice/frontend/templates/partials/header.html.twig -------------------------------------------------------------------------------- /apps/backoffice/frontend/var/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/bootstrap.php -------------------------------------------------------------------------------- /apps/mooc/backend/bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/bin/console -------------------------------------------------------------------------------- /apps/mooc/backend/config/bundles.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/config/bundles.php -------------------------------------------------------------------------------- /apps/mooc/backend/config/routes/courses.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/config/routes/courses.yaml -------------------------------------------------------------------------------- /apps/mooc/backend/config/routes/courses_counter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/config/routes/courses_counter.yaml -------------------------------------------------------------------------------- /apps/mooc/backend/config/routes/health-check.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/config/routes/health-check.yaml -------------------------------------------------------------------------------- /apps/mooc/backend/config/routes/metrics.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/config/routes/metrics.yaml -------------------------------------------------------------------------------- /apps/mooc/backend/config/services.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/config/services.yaml -------------------------------------------------------------------------------- /apps/mooc/backend/config/services/framework.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/config/services/framework.yaml -------------------------------------------------------------------------------- /apps/mooc/backend/config/services_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/config/services_test.yaml -------------------------------------------------------------------------------- /apps/mooc/backend/public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/public/index.php -------------------------------------------------------------------------------- /apps/mooc/backend/src/Command/DomainEvents/MySql/ConsumeMySqlDomainEventsCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/src/Command/DomainEvents/MySql/ConsumeMySqlDomainEventsCommand.php -------------------------------------------------------------------------------- /apps/mooc/backend/src/Command/DomainEvents/PublishDomainEventsFromMutationsCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/src/Command/DomainEvents/PublishDomainEventsFromMutationsCommand.php -------------------------------------------------------------------------------- /apps/mooc/backend/src/Command/DomainEvents/RabbitMq/ConfigureRabbitMqCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/src/Command/DomainEvents/RabbitMq/ConfigureRabbitMqCommand.php -------------------------------------------------------------------------------- /apps/mooc/backend/src/Command/DomainEvents/RabbitMq/ConsumeRabbitMqDomainEventsCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/src/Command/DomainEvents/RabbitMq/ConsumeRabbitMqDomainEventsCommand.php -------------------------------------------------------------------------------- /apps/mooc/backend/src/Command/DomainEvents/RabbitMq/GenerateSupervisorRabbitMqConsumerFilesCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/src/Command/DomainEvents/RabbitMq/GenerateSupervisorRabbitMqConsumerFilesCommand.php -------------------------------------------------------------------------------- /apps/mooc/backend/src/Controller/Courses/CoursesPutController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/src/Controller/Courses/CoursesPutController.php -------------------------------------------------------------------------------- /apps/mooc/backend/src/Controller/CoursesCounter/CoursesCounterGetController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/src/Controller/CoursesCounter/CoursesCounterGetController.php -------------------------------------------------------------------------------- /apps/mooc/backend/src/Controller/HealthCheck/HealthCheckGetController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/src/Controller/HealthCheck/HealthCheckGetController.php -------------------------------------------------------------------------------- /apps/mooc/backend/src/Controller/Metrics/MetricsController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/src/Controller/Metrics/MetricsController.php -------------------------------------------------------------------------------- /apps/mooc/backend/src/MoocBackendKernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/src/MoocBackendKernel.php -------------------------------------------------------------------------------- /apps/mooc/backend/tests/features/courses/course_put.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/tests/features/courses/course_put.feature -------------------------------------------------------------------------------- /apps/mooc/backend/tests/features/courses_counter/courses_counter_get.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/tests/features/courses_counter/courses_counter_get.feature -------------------------------------------------------------------------------- /apps/mooc/backend/tests/features/health_check/health_check_get.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/tests/features/health_check/health_check_get.feature -------------------------------------------------------------------------------- /apps/mooc/backend/tests/mooc_backend.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/apps/mooc/backend/tests/mooc_backend.yml -------------------------------------------------------------------------------- /apps/mooc/backend/var/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/mooc/frontend/src/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/mooc/frontend/var/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /behat.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/behat.yml -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/composer.lock -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /ecs.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/ecs.php -------------------------------------------------------------------------------- /etc/databases/backoffice/courses.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/etc/databases/backoffice/courses.json -------------------------------------------------------------------------------- /etc/databases/mooc.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/etc/databases/mooc.sql -------------------------------------------------------------------------------- /etc/endpoints/backoffice_frontend.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/etc/endpoints/backoffice_frontend.http -------------------------------------------------------------------------------- /etc/endpoints/mooc_backend.http: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/etc/endpoints/mooc_backend.http -------------------------------------------------------------------------------- /etc/infrastructure/php/conf.d/apcu.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/etc/infrastructure/php/conf.d/apcu.ini -------------------------------------------------------------------------------- /etc/infrastructure/php/conf.d/opcache.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/etc/infrastructure/php/conf.d/opcache.ini -------------------------------------------------------------------------------- /etc/infrastructure/php/conf.d/xdebug.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/etc/infrastructure/php/conf.d/xdebug.ini -------------------------------------------------------------------------------- /etc/infrastructure/php/php.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/etc/infrastructure/php/php.ini -------------------------------------------------------------------------------- /etc/prometheus/prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/etc/prometheus/prometheus.yml -------------------------------------------------------------------------------- /phpmd.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/phpmd.xml -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/phpstan.neon -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/phpunit.xml -------------------------------------------------------------------------------- /psalm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/psalm.xml -------------------------------------------------------------------------------- /rector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/rector.php -------------------------------------------------------------------------------- /src/Analytics/DomainEvents/Application/Store/DomainEventStorer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Analytics/DomainEvents/Application/Store/DomainEventStorer.php -------------------------------------------------------------------------------- /src/Analytics/DomainEvents/Application/Store/StoreDomainEventOnOccurred.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Analytics/DomainEvents/Application/Store/StoreDomainEventOnOccurred.php -------------------------------------------------------------------------------- /src/Analytics/DomainEvents/Domain/AnalyticsDomainEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Analytics/DomainEvents/Domain/AnalyticsDomainEvent.php -------------------------------------------------------------------------------- /src/Analytics/DomainEvents/Domain/AnalyticsDomainEventAggregateId.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Analytics/DomainEvents/Domain/AnalyticsDomainEventAggregateId.php -------------------------------------------------------------------------------- /src/Analytics/DomainEvents/Domain/AnalyticsDomainEventBody.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Analytics/DomainEvents/Domain/AnalyticsDomainEventBody.php -------------------------------------------------------------------------------- /src/Analytics/DomainEvents/Domain/AnalyticsDomainEventId.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Analytics/DomainEvents/Domain/AnalyticsDomainEventId.php -------------------------------------------------------------------------------- /src/Analytics/DomainEvents/Domain/AnalyticsDomainEventName.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Analytics/DomainEvents/Domain/AnalyticsDomainEventName.php -------------------------------------------------------------------------------- /src/Analytics/DomainEvents/Domain/DomainEventsRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Analytics/DomainEvents/Domain/DomainEventsRepository.php -------------------------------------------------------------------------------- /src/Backoffice/Auth/Application/Authenticate/AuthenticateUserCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Auth/Application/Authenticate/AuthenticateUserCommand.php -------------------------------------------------------------------------------- /src/Backoffice/Auth/Application/Authenticate/AuthenticateUserCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Auth/Application/Authenticate/AuthenticateUserCommandHandler.php -------------------------------------------------------------------------------- /src/Backoffice/Auth/Application/Authenticate/UserAuthenticator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Auth/Application/Authenticate/UserAuthenticator.php -------------------------------------------------------------------------------- /src/Backoffice/Auth/Domain/AuthPassword.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Auth/Domain/AuthPassword.php -------------------------------------------------------------------------------- /src/Backoffice/Auth/Domain/AuthRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Auth/Domain/AuthRepository.php -------------------------------------------------------------------------------- /src/Backoffice/Auth/Domain/AuthUser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Auth/Domain/AuthUser.php -------------------------------------------------------------------------------- /src/Backoffice/Auth/Domain/AuthUsername.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Auth/Domain/AuthUsername.php -------------------------------------------------------------------------------- /src/Backoffice/Auth/Domain/InvalidAuthCredentials.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Auth/Domain/InvalidAuthCredentials.php -------------------------------------------------------------------------------- /src/Backoffice/Auth/Domain/InvalidAuthUsername.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Auth/Domain/InvalidAuthUsername.php -------------------------------------------------------------------------------- /src/Backoffice/Auth/Infrastructure/Persistence/InMemoryAuthRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Auth/Infrastructure/Persistence/InMemoryAuthRepository.php -------------------------------------------------------------------------------- /src/Backoffice/Courses/Application/BackofficeCourseResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Application/BackofficeCourseResponse.php -------------------------------------------------------------------------------- /src/Backoffice/Courses/Application/BackofficeCoursesResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Application/BackofficeCoursesResponse.php -------------------------------------------------------------------------------- /src/Backoffice/Courses/Application/Create/BackofficeCourseCreator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Application/Create/BackofficeCourseCreator.php -------------------------------------------------------------------------------- /src/Backoffice/Courses/Application/Create/CreateBackofficeCourseOnCourseCreated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Application/Create/CreateBackofficeCourseOnCourseCreated.php -------------------------------------------------------------------------------- /src/Backoffice/Courses/Application/SearchAll/AllBackofficeCoursesSearcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Application/SearchAll/AllBackofficeCoursesSearcher.php -------------------------------------------------------------------------------- /src/Backoffice/Courses/Application/SearchAll/SearchAllBackofficeCoursesQuery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Application/SearchAll/SearchAllBackofficeCoursesQuery.php -------------------------------------------------------------------------------- /src/Backoffice/Courses/Application/SearchAll/SearchAllBackofficeCoursesQueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Application/SearchAll/SearchAllBackofficeCoursesQueryHandler.php -------------------------------------------------------------------------------- /src/Backoffice/Courses/Application/SearchByCriteria/BackofficeCoursesByCriteriaSearcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Application/SearchByCriteria/BackofficeCoursesByCriteriaSearcher.php -------------------------------------------------------------------------------- /src/Backoffice/Courses/Application/SearchByCriteria/SearchBackofficeCoursesByCriteriaQuery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Application/SearchByCriteria/SearchBackofficeCoursesByCriteriaQuery.php -------------------------------------------------------------------------------- /src/Backoffice/Courses/Application/SearchByCriteria/SearchBackofficeCoursesByCriteriaQueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Application/SearchByCriteria/SearchBackofficeCoursesByCriteriaQueryHandler.php -------------------------------------------------------------------------------- /src/Backoffice/Courses/Domain/BackofficeCourse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Domain/BackofficeCourse.php -------------------------------------------------------------------------------- /src/Backoffice/Courses/Domain/BackofficeCourseRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Domain/BackofficeCourseRepository.php -------------------------------------------------------------------------------- /src/Backoffice/Courses/Infrastructure/Persistence/Doctrine/BackofficeCourse.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Infrastructure/Persistence/Doctrine/BackofficeCourse.orm.xml -------------------------------------------------------------------------------- /src/Backoffice/Courses/Infrastructure/Persistence/ElasticsearchBackofficeCourseRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Infrastructure/Persistence/ElasticsearchBackofficeCourseRepository.php -------------------------------------------------------------------------------- /src/Backoffice/Courses/Infrastructure/Persistence/InMemoryCacheBackofficeCourseRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Infrastructure/Persistence/InMemoryCacheBackofficeCourseRepository.php -------------------------------------------------------------------------------- /src/Backoffice/Courses/Infrastructure/Persistence/MySqlBackofficeCourseRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Courses/Infrastructure/Persistence/MySqlBackofficeCourseRepository.php -------------------------------------------------------------------------------- /src/Backoffice/Shared/Infrastructure/Symfony/DependencyInjection/backoffice_services.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Backoffice/Shared/Infrastructure/Symfony/DependencyInjection/backoffice_services.yaml -------------------------------------------------------------------------------- /src/Mooc/Courses/Application/Create/CourseCreator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Application/Create/CourseCreator.php -------------------------------------------------------------------------------- /src/Mooc/Courses/Application/Create/CreateCourseCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Application/Create/CreateCourseCommand.php -------------------------------------------------------------------------------- /src/Mooc/Courses/Application/Create/CreateCourseCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Application/Create/CreateCourseCommandHandler.php -------------------------------------------------------------------------------- /src/Mooc/Courses/Application/Find/CourseFinder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Application/Find/CourseFinder.php -------------------------------------------------------------------------------- /src/Mooc/Courses/Application/Update/CourseRenamer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Application/Update/CourseRenamer.php -------------------------------------------------------------------------------- /src/Mooc/Courses/Domain/Course.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Domain/Course.php -------------------------------------------------------------------------------- /src/Mooc/Courses/Domain/CourseCreatedDomainEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Domain/CourseCreatedDomainEvent.php -------------------------------------------------------------------------------- /src/Mooc/Courses/Domain/CourseDuration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Domain/CourseDuration.php -------------------------------------------------------------------------------- /src/Mooc/Courses/Domain/CourseName.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Domain/CourseName.php -------------------------------------------------------------------------------- /src/Mooc/Courses/Domain/CourseNotExist.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Domain/CourseNotExist.php -------------------------------------------------------------------------------- /src/Mooc/Courses/Domain/CourseRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Domain/CourseRepository.php -------------------------------------------------------------------------------- /src/Mooc/Courses/Infrastructure/Cdc/DatabaseMutationToCourseCreatedDomainEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Infrastructure/Cdc/DatabaseMutationToCourseCreatedDomainEvent.php -------------------------------------------------------------------------------- /src/Mooc/Courses/Infrastructure/Persistence/Doctrine/Course.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Infrastructure/Persistence/Doctrine/Course.orm.xml -------------------------------------------------------------------------------- /src/Mooc/Courses/Infrastructure/Persistence/Doctrine/CourseDuration.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Infrastructure/Persistence/Doctrine/CourseDuration.orm.xml -------------------------------------------------------------------------------- /src/Mooc/Courses/Infrastructure/Persistence/Doctrine/CourseIdType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Infrastructure/Persistence/Doctrine/CourseIdType.php -------------------------------------------------------------------------------- /src/Mooc/Courses/Infrastructure/Persistence/Doctrine/CourseName.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Infrastructure/Persistence/Doctrine/CourseName.orm.xml -------------------------------------------------------------------------------- /src/Mooc/Courses/Infrastructure/Persistence/DoctrineCourseRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Infrastructure/Persistence/DoctrineCourseRepository.php -------------------------------------------------------------------------------- /src/Mooc/Courses/Infrastructure/Persistence/FileCourseRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Courses/Infrastructure/Persistence/FileCourseRepository.php -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Application/Find/CoursesCounterFinder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Application/Find/CoursesCounterFinder.php -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Application/Find/CoursesCounterResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Application/Find/CoursesCounterResponse.php -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Application/Find/FindCoursesCounterQuery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Application/Find/FindCoursesCounterQuery.php -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Application/Find/FindCoursesCounterQueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Application/Find/FindCoursesCounterQueryHandler.php -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Application/Increment/CoursesCounterIncrementer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Application/Increment/CoursesCounterIncrementer.php -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Application/Increment/IncrementCoursesCounterOnCourseCreated.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Application/Increment/IncrementCoursesCounterOnCourseCreated.php -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Domain/CoursesCounter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Domain/CoursesCounter.php -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Domain/CoursesCounterId.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Domain/CoursesCounterId.php -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Domain/CoursesCounterIncrementedDomainEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Domain/CoursesCounterIncrementedDomainEvent.php -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Domain/CoursesCounterNotExist.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Domain/CoursesCounterNotExist.php -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Domain/CoursesCounterRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Domain/CoursesCounterRepository.php -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Domain/CoursesCounterTotal.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Domain/CoursesCounterTotal.php -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Infrastructure/Persistence/Doctrine/CourseCounterIdType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Infrastructure/Persistence/Doctrine/CourseCounterIdType.php -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Infrastructure/Persistence/Doctrine/CourseIdsType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Infrastructure/Persistence/Doctrine/CourseIdsType.php -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Infrastructure/Persistence/Doctrine/CoursesCounter.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Infrastructure/Persistence/Doctrine/CoursesCounter.orm.xml -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Infrastructure/Persistence/Doctrine/CoursesCounterTotal.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Infrastructure/Persistence/Doctrine/CoursesCounterTotal.orm.xml -------------------------------------------------------------------------------- /src/Mooc/CoursesCounter/Infrastructure/Persistence/DoctrineCoursesCounterRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/CoursesCounter/Infrastructure/Persistence/DoctrineCoursesCounterRepository.php -------------------------------------------------------------------------------- /src/Mooc/Notifications/Application/SendNewCommentReplyEmail/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Mooc/Notifications/Application/SendNewCommentReplyPush/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Mooc/Notifications/Application/SendResetPasswordEmail/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Mooc/Shared/Domain/Courses/CourseId.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Shared/Domain/Courses/CourseId.php -------------------------------------------------------------------------------- /src/Mooc/Shared/Domain/Videos/VideoUrl.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Shared/Domain/Videos/VideoUrl.php -------------------------------------------------------------------------------- /src/Mooc/Shared/Infrastructure/Doctrine/DbalTypesSearcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Shared/Infrastructure/Doctrine/DbalTypesSearcher.php -------------------------------------------------------------------------------- /src/Mooc/Shared/Infrastructure/Doctrine/DoctrinePrefixesSearcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Shared/Infrastructure/Doctrine/DoctrinePrefixesSearcher.php -------------------------------------------------------------------------------- /src/Mooc/Shared/Infrastructure/Doctrine/MoocEntityManagerFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Shared/Infrastructure/Doctrine/MoocEntityManagerFactory.php -------------------------------------------------------------------------------- /src/Mooc/Shared/Infrastructure/Symfony/DependencyInjection/mooc_services.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Shared/Infrastructure/Symfony/DependencyInjection/mooc_services.yaml -------------------------------------------------------------------------------- /src/Mooc/Steps/Application/Create/CreateVideoStepCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Application/Create/CreateVideoStepCommandHandler.php -------------------------------------------------------------------------------- /src/Mooc/Steps/Application/Create/VideoStepCreator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Application/Create/VideoStepCreator.php -------------------------------------------------------------------------------- /src/Mooc/Steps/Domain/Exercise/ExerciseStep.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Domain/Exercise/ExerciseStep.php -------------------------------------------------------------------------------- /src/Mooc/Steps/Domain/Exercise/ExerciseStepContent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Domain/Exercise/ExerciseStepContent.php -------------------------------------------------------------------------------- /src/Mooc/Steps/Domain/Quiz/QuizStep.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Domain/Quiz/QuizStep.php -------------------------------------------------------------------------------- /src/Mooc/Steps/Domain/Quiz/QuizStepQuestion.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Domain/Quiz/QuizStepQuestion.php -------------------------------------------------------------------------------- /src/Mooc/Steps/Domain/Step.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Domain/Step.php -------------------------------------------------------------------------------- /src/Mooc/Steps/Domain/StepDuration.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Domain/StepDuration.php -------------------------------------------------------------------------------- /src/Mooc/Steps/Domain/StepId.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Domain/StepId.php -------------------------------------------------------------------------------- /src/Mooc/Steps/Domain/StepRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Domain/StepRepository.php -------------------------------------------------------------------------------- /src/Mooc/Steps/Domain/StepTitle.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Domain/StepTitle.php -------------------------------------------------------------------------------- /src/Mooc/Steps/Domain/Video/VideoStep.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Domain/Video/VideoStep.php -------------------------------------------------------------------------------- /src/Mooc/Steps/Domain/Video/VideoStepUrl.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Domain/Video/VideoStepUrl.php -------------------------------------------------------------------------------- /src/Mooc/Steps/Infrastructure/Persistence/Doctrine/Exercise.ExerciseStep.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Infrastructure/Persistence/Doctrine/Exercise.ExerciseStep.orm.xml -------------------------------------------------------------------------------- /src/Mooc/Steps/Infrastructure/Persistence/Doctrine/Exercise.ExerciseStepContent.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Infrastructure/Persistence/Doctrine/Exercise.ExerciseStepContent.orm.xml -------------------------------------------------------------------------------- /src/Mooc/Steps/Infrastructure/Persistence/Doctrine/Quiz.QuizStep.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Infrastructure/Persistence/Doctrine/Quiz.QuizStep.orm.xml -------------------------------------------------------------------------------- /src/Mooc/Steps/Infrastructure/Persistence/Doctrine/QuizStepQuestionsType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Infrastructure/Persistence/Doctrine/QuizStepQuestionsType.php -------------------------------------------------------------------------------- /src/Mooc/Steps/Infrastructure/Persistence/Doctrine/Step.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Infrastructure/Persistence/Doctrine/Step.orm.xml -------------------------------------------------------------------------------- /src/Mooc/Steps/Infrastructure/Persistence/Doctrine/StepDuration.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Infrastructure/Persistence/Doctrine/StepDuration.orm.xml -------------------------------------------------------------------------------- /src/Mooc/Steps/Infrastructure/Persistence/Doctrine/StepIdType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Infrastructure/Persistence/Doctrine/StepIdType.php -------------------------------------------------------------------------------- /src/Mooc/Steps/Infrastructure/Persistence/Doctrine/StepTitle.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Infrastructure/Persistence/Doctrine/StepTitle.orm.xml -------------------------------------------------------------------------------- /src/Mooc/Steps/Infrastructure/Persistence/Doctrine/Video.VideoStep.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Infrastructure/Persistence/Doctrine/Video.VideoStep.orm.xml -------------------------------------------------------------------------------- /src/Mooc/Steps/Infrastructure/Persistence/Doctrine/Video.VideoStepUrl.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Infrastructure/Persistence/Doctrine/Video.VideoStepUrl.orm.xml -------------------------------------------------------------------------------- /src/Mooc/Steps/Infrastructure/Persistence/MySqlStepRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Steps/Infrastructure/Persistence/MySqlStepRepository.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Application/Create/CreateVideoCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Application/Create/CreateVideoCommand.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Application/Create/CreateVideoCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Application/Create/CreateVideoCommandHandler.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Application/Create/VideoCreator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Application/Create/VideoCreator.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Application/Find/FindVideoQuery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Application/Find/FindVideoQuery.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Application/Find/FindVideoQueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Application/Find/FindVideoQueryHandler.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Application/Find/VideoFinder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Application/Find/VideoFinder.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Application/Find/VideoResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Application/Find/VideoResponse.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Application/Find/VideoResponseConverter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Application/Find/VideoResponseConverter.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Application/Trim/TrimVideoCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Application/Trim/TrimVideoCommand.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Application/Trim/TrimVideoCommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Application/Trim/TrimVideoCommandHandler.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Application/Trim/VideoTrimmer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Application/Trim/VideoTrimmer.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Application/Update/VideoTitleUpdater.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Application/Update/VideoTitleUpdater.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Domain/Video.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Domain/Video.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Domain/VideoCreatedDomainEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Domain/VideoCreatedDomainEvent.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Domain/VideoFinder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Domain/VideoFinder.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Domain/VideoId.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Domain/VideoId.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Domain/VideoNotFound.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Domain/VideoNotFound.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Domain/VideoRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Domain/VideoRepository.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Domain/VideoTitle.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Domain/VideoTitle.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Domain/VideoType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Domain/VideoType.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Domain/Videos.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Domain/Videos.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Infrastructure/Persistence/Doctrine/Video.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Infrastructure/Persistence/Doctrine/Video.orm.xml -------------------------------------------------------------------------------- /src/Mooc/Videos/Infrastructure/Persistence/Doctrine/VideoIdType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Infrastructure/Persistence/Doctrine/VideoIdType.php -------------------------------------------------------------------------------- /src/Mooc/Videos/Infrastructure/Persistence/Doctrine/VideoTitle.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Infrastructure/Persistence/Doctrine/VideoTitle.orm.xml -------------------------------------------------------------------------------- /src/Mooc/Videos/Infrastructure/Persistence/Doctrine/VideoType.orm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Infrastructure/Persistence/Doctrine/VideoType.orm.xml -------------------------------------------------------------------------------- /src/Mooc/Videos/Infrastructure/Persistence/VideoRepositoryMySql.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Mooc/Videos/Infrastructure/Persistence/VideoRepositoryMySql.php -------------------------------------------------------------------------------- /src/Retention/Campaign/Application/NewCourseAvailable/Schedule/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Retention/Campaign/Application/NewCourseAvailable/Trigger/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Retention/Campaign/Application/WelcomeUser/Trigger/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Retention/Campaign/Domain/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Retention/Campaign/Infrastructure/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Retention/Email/Application/SendNewCourseAvailable/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Retention/Email/Application/SendWelcomeUser/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Retention/Email/Domain/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Retention/Email/Infrastructure/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Retention/Push/Application/SendNewCourseAvailable/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Retention/Push/Domain/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Retention/Push/Infrastructure/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Retention/Sms/Application/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Retention/Sms/Domain/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Retention/Sms/Infrastructure/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/Shared/Domain/Aggregate/AggregateRoot.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Aggregate/AggregateRoot.php -------------------------------------------------------------------------------- /src/Shared/Domain/Assert.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Assert.php -------------------------------------------------------------------------------- /src/Shared/Domain/Bus/Command/Command.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Bus/Command/Command.php -------------------------------------------------------------------------------- /src/Shared/Domain/Bus/Command/CommandBus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Bus/Command/CommandBus.php -------------------------------------------------------------------------------- /src/Shared/Domain/Bus/Command/CommandHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Bus/Command/CommandHandler.php -------------------------------------------------------------------------------- /src/Shared/Domain/Bus/Event/DomainEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Bus/Event/DomainEvent.php -------------------------------------------------------------------------------- /src/Shared/Domain/Bus/Event/DomainEventSubscriber.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Bus/Event/DomainEventSubscriber.php -------------------------------------------------------------------------------- /src/Shared/Domain/Bus/Event/EventBus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Bus/Event/EventBus.php -------------------------------------------------------------------------------- /src/Shared/Domain/Bus/Query/Query.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Bus/Query/Query.php -------------------------------------------------------------------------------- /src/Shared/Domain/Bus/Query/QueryBus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Bus/Query/QueryBus.php -------------------------------------------------------------------------------- /src/Shared/Domain/Bus/Query/QueryHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Bus/Query/QueryHandler.php -------------------------------------------------------------------------------- /src/Shared/Domain/Bus/Query/Response.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Bus/Query/Response.php -------------------------------------------------------------------------------- /src/Shared/Domain/Collection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Collection.php -------------------------------------------------------------------------------- /src/Shared/Domain/Criteria/Criteria.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Criteria/Criteria.php -------------------------------------------------------------------------------- /src/Shared/Domain/Criteria/Filter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Criteria/Filter.php -------------------------------------------------------------------------------- /src/Shared/Domain/Criteria/FilterField.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Criteria/FilterField.php -------------------------------------------------------------------------------- /src/Shared/Domain/Criteria/FilterOperator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Criteria/FilterOperator.php -------------------------------------------------------------------------------- /src/Shared/Domain/Criteria/FilterValue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Criteria/FilterValue.php -------------------------------------------------------------------------------- /src/Shared/Domain/Criteria/Filters.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Criteria/Filters.php -------------------------------------------------------------------------------- /src/Shared/Domain/Criteria/Order.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Criteria/Order.php -------------------------------------------------------------------------------- /src/Shared/Domain/Criteria/OrderBy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Criteria/OrderBy.php -------------------------------------------------------------------------------- /src/Shared/Domain/Criteria/OrderType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Criteria/OrderType.php -------------------------------------------------------------------------------- /src/Shared/Domain/DomainError.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/DomainError.php -------------------------------------------------------------------------------- /src/Shared/Domain/Logger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Logger.php -------------------------------------------------------------------------------- /src/Shared/Domain/Monitoring.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Monitoring.php -------------------------------------------------------------------------------- /src/Shared/Domain/RandomNumberGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/RandomNumberGenerator.php -------------------------------------------------------------------------------- /src/Shared/Domain/Second.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Second.php -------------------------------------------------------------------------------- /src/Shared/Domain/SecondsInterval.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/SecondsInterval.php -------------------------------------------------------------------------------- /src/Shared/Domain/Utils.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/Utils.php -------------------------------------------------------------------------------- /src/Shared/Domain/UuidGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/UuidGenerator.php -------------------------------------------------------------------------------- /src/Shared/Domain/ValueObject/IntValueObject.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/ValueObject/IntValueObject.php -------------------------------------------------------------------------------- /src/Shared/Domain/ValueObject/SimpleUuid.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/ValueObject/SimpleUuid.php -------------------------------------------------------------------------------- /src/Shared/Domain/ValueObject/StringValueObject.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/ValueObject/StringValueObject.php -------------------------------------------------------------------------------- /src/Shared/Domain/ValueObject/Uuid.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Domain/ValueObject/Uuid.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/CallableFirstParameterExtractor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/CallableFirstParameterExtractor.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Command/CommandNotRegisteredError.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Command/CommandNotRegisteredError.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Command/InMemorySymfonyCommandBus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Command/InMemorySymfonyCommandBus.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Event/DomainEventJsonDeserializer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Event/DomainEventJsonDeserializer.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Event/DomainEventJsonSerializer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Event/DomainEventJsonSerializer.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Event/DomainEventMapping.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Event/DomainEventMapping.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Event/DomainEventSubscriberLocator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Event/DomainEventSubscriberLocator.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Event/InMemory/InMemorySymfonyEventBus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Event/InMemory/InMemorySymfonyEventBus.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Event/MySql/MySqlDoctrineDomainEventsConsumer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Event/MySql/MySqlDoctrineDomainEventsConsumer.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Event/MySql/MySqlDoctrineEventBus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Event/MySql/MySqlDoctrineEventBus.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Event/RabbitMq/RabbitMqConfigurer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Event/RabbitMq/RabbitMqConfigurer.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Event/RabbitMq/RabbitMqConnection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Event/RabbitMq/RabbitMqConnection.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Event/RabbitMq/RabbitMqDomainEventsConsumer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Event/RabbitMq/RabbitMqDomainEventsConsumer.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Event/RabbitMq/RabbitMqEventBus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Event/RabbitMq/RabbitMqEventBus.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Event/RabbitMq/RabbitMqExchangeNameFormatter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Event/RabbitMq/RabbitMqExchangeNameFormatter.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Event/RabbitMq/RabbitMqQueueNameFormatter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Event/RabbitMq/RabbitMqQueueNameFormatter.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Event/WithMonitoring/WithPrometheusMonitoringEventBus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Event/WithMonitoring/WithPrometheusMonitoringEventBus.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Query/InMemorySymfonyQueryBus.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Query/InMemorySymfonyQueryBus.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Bus/Query/QueryNotRegisteredError.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Bus/Query/QueryNotRegisteredError.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Cdc/DatabaseMutationAction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Cdc/DatabaseMutationAction.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Cdc/DatabaseMutationToDomainEvent.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Cdc/DatabaseMutationToDomainEvent.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Doctrine/DatabaseConnections.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Doctrine/DatabaseConnections.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Doctrine/Dbal/DbalCustomTypesRegistrar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Doctrine/Dbal/DbalCustomTypesRegistrar.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Doctrine/Dbal/DoctrineCustomType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Doctrine/Dbal/DoctrineCustomType.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Doctrine/DoctrineEntityManagerFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Doctrine/DoctrineEntityManagerFactory.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Elasticsearch/ElasticsearchClient.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Elasticsearch/ElasticsearchClient.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Elasticsearch/ElasticsearchClientFactory.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Elasticsearch/ElasticsearchClientFactory.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Logger/MonologLogger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Logger/MonologLogger.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Monitoring/PrometheusMonitor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Monitoring/PrometheusMonitor.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Persistence/Doctrine/DoctrineCriteriaConverter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Persistence/Doctrine/DoctrineCriteriaConverter.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Persistence/Doctrine/DoctrineRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Persistence/Doctrine/DoctrineRepository.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Persistence/Doctrine/UuidType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Persistence/Doctrine/UuidType.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Persistence/Elasticsearch/ElasticQueryGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Persistence/Elasticsearch/ElasticQueryGenerator.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Persistence/Elasticsearch/ElasticsearchCriteriaConverter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Persistence/Elasticsearch/ElasticsearchCriteriaConverter.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Persistence/Elasticsearch/ElasticsearchRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Persistence/Elasticsearch/ElasticsearchRepository.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/PhpRandomNumberGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/PhpRandomNumberGenerator.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/RamseyUuidGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/RamseyUuidGenerator.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Symfony/AddJsonBodyToRequestListener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Symfony/AddJsonBodyToRequestListener.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Symfony/ApiController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Symfony/ApiController.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Symfony/ApiExceptionListener.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Symfony/ApiExceptionListener.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Symfony/ApiExceptionsHttpStatusCodeMapping.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Symfony/ApiExceptionsHttpStatusCodeMapping.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Symfony/BasicHttpAuthMiddleware.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Symfony/BasicHttpAuthMiddleware.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Symfony/FlashSession.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Symfony/FlashSession.php -------------------------------------------------------------------------------- /src/Shared/Infrastructure/Symfony/WebController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/src/Shared/Infrastructure/Symfony/WebController.php -------------------------------------------------------------------------------- /tests/Backoffice/Auth/Application/Authenticate/AuthenticateUserCommandHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Backoffice/Auth/Application/Authenticate/AuthenticateUserCommandHandlerTest.php -------------------------------------------------------------------------------- /tests/Backoffice/Auth/Application/Authenticate/AuthenticateUserCommandMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Backoffice/Auth/Application/Authenticate/AuthenticateUserCommandMother.php -------------------------------------------------------------------------------- /tests/Backoffice/Auth/AuthModuleUnitTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Backoffice/Auth/AuthModuleUnitTestCase.php -------------------------------------------------------------------------------- /tests/Backoffice/Auth/Domain/AuthPasswordMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Backoffice/Auth/Domain/AuthPasswordMother.php -------------------------------------------------------------------------------- /tests/Backoffice/Auth/Domain/AuthUserMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Backoffice/Auth/Domain/AuthUserMother.php -------------------------------------------------------------------------------- /tests/Backoffice/Auth/Domain/AuthUsernameMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Backoffice/Auth/Domain/AuthUsernameMother.php -------------------------------------------------------------------------------- /tests/Backoffice/Courses/BackofficeCoursesModuleInfrastructureTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Backoffice/Courses/BackofficeCoursesModuleInfrastructureTestCase.php -------------------------------------------------------------------------------- /tests/Backoffice/Courses/Domain/BackofficeCourseCriteriaMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Backoffice/Courses/Domain/BackofficeCourseCriteriaMother.php -------------------------------------------------------------------------------- /tests/Backoffice/Courses/Domain/BackofficeCourseMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Backoffice/Courses/Domain/BackofficeCourseMother.php -------------------------------------------------------------------------------- /tests/Backoffice/Courses/Infrastructure/Persistence/ElasticsearchBackofficeCourseRepositoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Backoffice/Courses/Infrastructure/Persistence/ElasticsearchBackofficeCourseRepositoryTest.php -------------------------------------------------------------------------------- /tests/Backoffice/Courses/Infrastructure/Persistence/MySqlBackofficeCourseRepositoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Backoffice/Courses/Infrastructure/Persistence/MySqlBackofficeCourseRepositoryTest.php -------------------------------------------------------------------------------- /tests/Backoffice/Shared/Infraestructure/PhpUnit/BackofficeContextInfrastructureTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Backoffice/Shared/Infraestructure/PhpUnit/BackofficeContextInfrastructureTestCase.php -------------------------------------------------------------------------------- /tests/Backoffice/Shared/Infraestructure/PhpUnit/BackofficeEnvironmentArranger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Backoffice/Shared/Infraestructure/PhpUnit/BackofficeEnvironmentArranger.php -------------------------------------------------------------------------------- /tests/Mooc/Courses/Application/Create/CreateCourseCommandHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Courses/Application/Create/CreateCourseCommandHandlerTest.php -------------------------------------------------------------------------------- /tests/Mooc/Courses/Application/Create/CreateCourseCommandMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Courses/Application/Create/CreateCourseCommandMother.php -------------------------------------------------------------------------------- /tests/Mooc/Courses/Application/Update/CourseRenamerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Courses/Application/Update/CourseRenamerTest.php -------------------------------------------------------------------------------- /tests/Mooc/Courses/CoursesModuleInfrastructureTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Courses/CoursesModuleInfrastructureTestCase.php -------------------------------------------------------------------------------- /tests/Mooc/Courses/CoursesModuleUnitTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Courses/CoursesModuleUnitTestCase.php -------------------------------------------------------------------------------- /tests/Mooc/Courses/Domain/CourseCreatedDomainEventMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Courses/Domain/CourseCreatedDomainEventMother.php -------------------------------------------------------------------------------- /tests/Mooc/Courses/Domain/CourseDurationMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Courses/Domain/CourseDurationMother.php -------------------------------------------------------------------------------- /tests/Mooc/Courses/Domain/CourseIdMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Courses/Domain/CourseIdMother.php -------------------------------------------------------------------------------- /tests/Mooc/Courses/Domain/CourseMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Courses/Domain/CourseMother.php -------------------------------------------------------------------------------- /tests/Mooc/Courses/Domain/CourseNameMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Courses/Domain/CourseNameMother.php -------------------------------------------------------------------------------- /tests/Mooc/Courses/Infrastructure/Persistence/CourseRepositoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Courses/Infrastructure/Persistence/CourseRepositoryTest.php -------------------------------------------------------------------------------- /tests/Mooc/CoursesCounter/Application/Find/CoursesCounterResponseMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/CoursesCounter/Application/Find/CoursesCounterResponseMother.php -------------------------------------------------------------------------------- /tests/Mooc/CoursesCounter/Application/Find/FindCoursesCounterQueryHandlerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/CoursesCounter/Application/Find/FindCoursesCounterQueryHandlerTest.php -------------------------------------------------------------------------------- /tests/Mooc/CoursesCounter/Application/Increment/IncrementCoursesCounterOnCourseCreatedTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/CoursesCounter/Application/Increment/IncrementCoursesCounterOnCourseCreatedTest.php -------------------------------------------------------------------------------- /tests/Mooc/CoursesCounter/CoursesCounterModuleUnitTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/CoursesCounter/CoursesCounterModuleUnitTestCase.php -------------------------------------------------------------------------------- /tests/Mooc/CoursesCounter/Domain/CoursesCounterIdMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/CoursesCounter/Domain/CoursesCounterIdMother.php -------------------------------------------------------------------------------- /tests/Mooc/CoursesCounter/Domain/CoursesCounterIncrementedDomainEventMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/CoursesCounter/Domain/CoursesCounterIncrementedDomainEventMother.php -------------------------------------------------------------------------------- /tests/Mooc/CoursesCounter/Domain/CoursesCounterMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/CoursesCounter/Domain/CoursesCounterMother.php -------------------------------------------------------------------------------- /tests/Mooc/CoursesCounter/Domain/CoursesCounterTotalMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/CoursesCounter/Domain/CoursesCounterTotalMother.php -------------------------------------------------------------------------------- /tests/Mooc/MoocArchitectureTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/MoocArchitectureTest.php -------------------------------------------------------------------------------- /tests/Mooc/Shared/Domain/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/Mooc/Shared/Infrastructure/PhpUnit/MoocContextInfrastructureTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Shared/Infrastructure/PhpUnit/MoocContextInfrastructureTestCase.php -------------------------------------------------------------------------------- /tests/Mooc/Shared/Infrastructure/PhpUnit/MoocEnvironmentArranger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Shared/Infrastructure/PhpUnit/MoocEnvironmentArranger.php -------------------------------------------------------------------------------- /tests/Mooc/Steps/Domain/Exercise/ExerciseStepContentMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Steps/Domain/Exercise/ExerciseStepContentMother.php -------------------------------------------------------------------------------- /tests/Mooc/Steps/Domain/Exercise/ExerciseStepMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Steps/Domain/Exercise/ExerciseStepMother.php -------------------------------------------------------------------------------- /tests/Mooc/Steps/Domain/Quiz/QuizStepMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Steps/Domain/Quiz/QuizStepMother.php -------------------------------------------------------------------------------- /tests/Mooc/Steps/Domain/Quiz/QuizStepQuestionMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Steps/Domain/Quiz/QuizStepQuestionMother.php -------------------------------------------------------------------------------- /tests/Mooc/Steps/Domain/StepDurationMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Steps/Domain/StepDurationMother.php -------------------------------------------------------------------------------- /tests/Mooc/Steps/Domain/StepIdMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Steps/Domain/StepIdMother.php -------------------------------------------------------------------------------- /tests/Mooc/Steps/Domain/StepTitleMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Steps/Domain/StepTitleMother.php -------------------------------------------------------------------------------- /tests/Mooc/Steps/Domain/Video/VideoStepMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Steps/Domain/Video/VideoStepMother.php -------------------------------------------------------------------------------- /tests/Mooc/Steps/Domain/Video/VideoStepUrlMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Steps/Domain/Video/VideoStepUrlMother.php -------------------------------------------------------------------------------- /tests/Mooc/Steps/Infrastructure/Persistence/MySqlStepRepositoryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Steps/Infrastructure/Persistence/MySqlStepRepositoryTest.php -------------------------------------------------------------------------------- /tests/Mooc/Steps/StepsModuleInfrastructureTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Mooc/Steps/StepsModuleInfrastructureTestCase.php -------------------------------------------------------------------------------- /tests/Mooc/Videos/Application/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/Mooc/Videos/Domain/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/Mooc/Videos/Infrastructure/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/Shared/Domain/Criteria/CriteriaMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Domain/Criteria/CriteriaMother.php -------------------------------------------------------------------------------- /tests/Shared/Domain/Criteria/FilterFieldMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Domain/Criteria/FilterFieldMother.php -------------------------------------------------------------------------------- /tests/Shared/Domain/Criteria/FilterMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Domain/Criteria/FilterMother.php -------------------------------------------------------------------------------- /tests/Shared/Domain/Criteria/FilterValueMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Domain/Criteria/FilterValueMother.php -------------------------------------------------------------------------------- /tests/Shared/Domain/Criteria/FiltersMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Domain/Criteria/FiltersMother.php -------------------------------------------------------------------------------- /tests/Shared/Domain/Criteria/OrderByMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Domain/Criteria/OrderByMother.php -------------------------------------------------------------------------------- /tests/Shared/Domain/Criteria/OrderMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Domain/Criteria/OrderMother.php -------------------------------------------------------------------------------- /tests/Shared/Domain/DuplicatorMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Domain/DuplicatorMother.php -------------------------------------------------------------------------------- /tests/Shared/Domain/IntegerMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Domain/IntegerMother.php -------------------------------------------------------------------------------- /tests/Shared/Domain/MotherCreator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Domain/MotherCreator.php -------------------------------------------------------------------------------- /tests/Shared/Domain/RandomElementPicker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Domain/RandomElementPicker.php -------------------------------------------------------------------------------- /tests/Shared/Domain/Repeater.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Domain/Repeater.php -------------------------------------------------------------------------------- /tests/Shared/Domain/TestUtils.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Domain/TestUtils.php -------------------------------------------------------------------------------- /tests/Shared/Domain/UuidMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Domain/UuidMother.php -------------------------------------------------------------------------------- /tests/Shared/Domain/WordMother.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Domain/WordMother.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/ArchitectureTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/ArchitectureTest.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Arranger/EnvironmentArranger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Arranger/EnvironmentArranger.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Behat/ApiContext.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Behat/ApiContext.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Behat/ApplicationFeatureContext.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Behat/ApplicationFeatureContext.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Bus/Command/FakeCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Bus/Command/FakeCommand.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Bus/Command/InMemorySymfonyCommandBusTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Bus/Command/InMemorySymfonyCommandBusTest.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Bus/Event/MySql/MySqlDoctrineEventBusTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Bus/Event/MySql/MySqlDoctrineEventBusTest.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Bus/Event/RabbitMq/RabbitMqEventBusTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Bus/Event/RabbitMq/RabbitMqEventBusTest.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Bus/Event/RabbitMq/TestAllWorksOnRabbitMqEventsPublished.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Bus/Event/RabbitMq/TestAllWorksOnRabbitMqEventsPublished.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Bus/Query/FakeQuery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Bus/Query/FakeQuery.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Bus/Query/FakeResponse.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Bus/Query/FakeResponse.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Bus/Query/InMemorySymfonyQueryBusTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Bus/Query/InMemorySymfonyQueryBusTest.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/ConstantRandomNumberGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/ConstantRandomNumberGenerator.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Doctrine/MySqlDatabaseCleaner.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Doctrine/MySqlDatabaseCleaner.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Elastic/ElasticDatabaseCleaner.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Elastic/ElasticDatabaseCleaner.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Mink/MinkHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Mink/MinkHelper.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Mink/MinkSessionRequestHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Mink/MinkSessionRequestHelper.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/Mockery/CodelyTvMatcherIsSimilar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/Mockery/CodelyTvMatcherIsSimilar.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/PhpUnit/Comparator/AggregateRootArraySimilarComparator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/PhpUnit/Comparator/AggregateRootArraySimilarComparator.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/PhpUnit/Comparator/AggregateRootSimilarComparator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/PhpUnit/Comparator/AggregateRootSimilarComparator.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/PhpUnit/Comparator/DateTimeSimilarComparator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/PhpUnit/Comparator/DateTimeSimilarComparator.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/PhpUnit/Comparator/DateTimeStringSimilarComparator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/PhpUnit/Comparator/DateTimeStringSimilarComparator.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/PhpUnit/Comparator/DomainEventArraySimilarComparator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/PhpUnit/Comparator/DomainEventArraySimilarComparator.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/PhpUnit/Comparator/DomainEventSimilarComparator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/PhpUnit/Comparator/DomainEventSimilarComparator.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/PhpUnit/Constraint/CodelyTvConstraintIsSimilar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/PhpUnit/Constraint/CodelyTvConstraintIsSimilar.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/PhpUnit/InfrastructureTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/PhpUnit/InfrastructureTestCase.php -------------------------------------------------------------------------------- /tests/Shared/Infrastructure/PhpUnit/UnitTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/Infrastructure/PhpUnit/UnitTestCase.php -------------------------------------------------------------------------------- /tests/Shared/SharedArchitectureTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodelyTV/php-ddd-example/HEAD/tests/Shared/SharedArchitectureTest.php --------------------------------------------------------------------------------