├── .env ├── .env.test ├── .gitignore ├── assets ├── app.js └── styles │ └── app.scss ├── bin ├── console └── phpunit ├── composer.json ├── composer.lock ├── config ├── bundles.php ├── packages │ ├── assets.yaml │ ├── cache.yaml │ ├── dev │ │ ├── debug.yaml │ │ ├── monolog.yaml │ │ └── web_profiler.yaml │ ├── doctrine.yaml │ ├── doctrine_migrations.yaml │ ├── framework.yaml │ ├── mailer.yaml │ ├── messenger.yaml │ ├── notifier.yaml │ ├── prod │ │ ├── deprecations.yaml │ │ ├── doctrine.yaml │ │ ├── monolog.yaml │ │ ├── routing.yaml │ │ └── webpack_encore.yaml │ ├── routing.yaml │ ├── security.yaml │ ├── sensio_framework_extra.yaml │ ├── test │ │ ├── framework.yaml │ │ ├── monolog.yaml │ │ ├── twig.yaml │ │ ├── validator.yaml │ │ ├── web_profiler.yaml │ │ └── webpack_encore.yaml │ ├── translation.yaml │ ├── twig.yaml │ ├── validator.yaml │ └── webpack_encore.yaml ├── preload.php ├── routes.yaml ├── routes │ ├── annotations.yaml │ └── dev │ │ ├── framework.yaml │ │ └── web_profiler.yaml └── services.yaml ├── migrations ├── .gitignore └── Version20201107141910.php ├── package.json ├── phpunit.xml.dist ├── public └── index.php ├── src ├── AcmeVet │ └── Scheduling │ │ ├── Application │ │ ├── Command │ │ │ ├── Booking │ │ │ │ ├── AppointmentBookingCommand.php │ │ │ │ └── AppointmentBookingHandler.php │ │ │ ├── Command.php │ │ │ └── Handler.php │ │ └── Query │ │ │ ├── AppointmentDTO.php │ │ │ └── AppointmentQuery.php │ │ ├── Domain │ │ └── Appointment │ │ │ ├── Appointment.php │ │ │ ├── AppointmentId.php │ │ │ ├── AppointmentRepository.php │ │ │ ├── Exception │ │ │ ├── AppointmentLengthInvalid.php │ │ │ └── CouldNotConfirmSlotException.php │ │ │ ├── Pet.php │ │ │ └── SlotConfirmationService.php │ │ └── Infrastructure │ │ └── DbalAppointmentRepository.php └── App │ ├── Controller │ ├── .gitignore │ └── AppointmentController.php │ ├── Entity │ └── .gitignore │ ├── Form │ └── Type │ │ └── AppointmentType.php │ ├── Kernel.php │ └── Repository │ └── .gitignore ├── symfony.lock ├── templates ├── appointment │ └── list.html.twig └── base.html.twig ├── tests ├── AcmeVet │ └── Scheduling │ │ ├── Application │ │ └── Command │ │ │ └── Booking │ │ │ └── AppointmentBookingTest.php │ │ ├── Domain │ │ └── Appointment │ │ │ ├── AppointmentTest.php │ │ │ └── SlotConfirmationServiceTest.php │ │ └── Doubles │ │ └── InMemoryAppointmentRepository.php └── bootstrap.php ├── translations └── .gitignore ├── webpack.config.js └── yarn.lock /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/.env -------------------------------------------------------------------------------- /.env.test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/.env.test -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/.gitignore -------------------------------------------------------------------------------- /assets/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/assets/app.js -------------------------------------------------------------------------------- /assets/styles/app.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/assets/styles/app.scss -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/bin/console -------------------------------------------------------------------------------- /bin/phpunit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/bin/phpunit -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/composer.lock -------------------------------------------------------------------------------- /config/bundles.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/bundles.php -------------------------------------------------------------------------------- /config/packages/assets.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/assets.yaml -------------------------------------------------------------------------------- /config/packages/cache.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/cache.yaml -------------------------------------------------------------------------------- /config/packages/dev/debug.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/dev/debug.yaml -------------------------------------------------------------------------------- /config/packages/dev/monolog.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/dev/monolog.yaml -------------------------------------------------------------------------------- /config/packages/dev/web_profiler.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/dev/web_profiler.yaml -------------------------------------------------------------------------------- /config/packages/doctrine.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/doctrine.yaml -------------------------------------------------------------------------------- /config/packages/doctrine_migrations.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/doctrine_migrations.yaml -------------------------------------------------------------------------------- /config/packages/framework.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/framework.yaml -------------------------------------------------------------------------------- /config/packages/mailer.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/mailer.yaml -------------------------------------------------------------------------------- /config/packages/messenger.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/messenger.yaml -------------------------------------------------------------------------------- /config/packages/notifier.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/notifier.yaml -------------------------------------------------------------------------------- /config/packages/prod/deprecations.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/prod/deprecations.yaml -------------------------------------------------------------------------------- /config/packages/prod/doctrine.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/prod/doctrine.yaml -------------------------------------------------------------------------------- /config/packages/prod/monolog.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/prod/monolog.yaml -------------------------------------------------------------------------------- /config/packages/prod/routing.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/prod/routing.yaml -------------------------------------------------------------------------------- /config/packages/prod/webpack_encore.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/prod/webpack_encore.yaml -------------------------------------------------------------------------------- /config/packages/routing.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/routing.yaml -------------------------------------------------------------------------------- /config/packages/security.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/security.yaml -------------------------------------------------------------------------------- /config/packages/sensio_framework_extra.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/sensio_framework_extra.yaml -------------------------------------------------------------------------------- /config/packages/test/framework.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/test/framework.yaml -------------------------------------------------------------------------------- /config/packages/test/monolog.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/test/monolog.yaml -------------------------------------------------------------------------------- /config/packages/test/twig.yaml: -------------------------------------------------------------------------------- 1 | twig: 2 | strict_variables: true 3 | -------------------------------------------------------------------------------- /config/packages/test/validator.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/test/validator.yaml -------------------------------------------------------------------------------- /config/packages/test/web_profiler.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/test/web_profiler.yaml -------------------------------------------------------------------------------- /config/packages/test/webpack_encore.yaml: -------------------------------------------------------------------------------- 1 | #webpack_encore: 2 | # strict_mode: false 3 | -------------------------------------------------------------------------------- /config/packages/translation.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/translation.yaml -------------------------------------------------------------------------------- /config/packages/twig.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/twig.yaml -------------------------------------------------------------------------------- /config/packages/validator.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/validator.yaml -------------------------------------------------------------------------------- /config/packages/webpack_encore.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/packages/webpack_encore.yaml -------------------------------------------------------------------------------- /config/preload.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/preload.php -------------------------------------------------------------------------------- /config/routes.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/routes.yaml -------------------------------------------------------------------------------- /config/routes/annotations.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/routes/annotations.yaml -------------------------------------------------------------------------------- /config/routes/dev/framework.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/routes/dev/framework.yaml -------------------------------------------------------------------------------- /config/routes/dev/web_profiler.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/routes/dev/web_profiler.yaml -------------------------------------------------------------------------------- /config/services.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/config/services.yaml -------------------------------------------------------------------------------- /migrations/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /migrations/Version20201107141910.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/migrations/Version20201107141910.php -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/package.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/public/index.php -------------------------------------------------------------------------------- /src/AcmeVet/Scheduling/Application/Command/Booking/AppointmentBookingCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/AcmeVet/Scheduling/Application/Command/Booking/AppointmentBookingCommand.php -------------------------------------------------------------------------------- /src/AcmeVet/Scheduling/Application/Command/Booking/AppointmentBookingHandler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/AcmeVet/Scheduling/Application/Command/Booking/AppointmentBookingHandler.php -------------------------------------------------------------------------------- /src/AcmeVet/Scheduling/Application/Command/Command.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/AcmeVet/Scheduling/Application/Command/Command.php -------------------------------------------------------------------------------- /src/AcmeVet/Scheduling/Application/Command/Handler.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/AcmeVet/Scheduling/Application/Command/Handler.php -------------------------------------------------------------------------------- /src/AcmeVet/Scheduling/Application/Query/AppointmentDTO.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/AcmeVet/Scheduling/Application/Query/AppointmentDTO.php -------------------------------------------------------------------------------- /src/AcmeVet/Scheduling/Application/Query/AppointmentQuery.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/AcmeVet/Scheduling/Application/Query/AppointmentQuery.php -------------------------------------------------------------------------------- /src/AcmeVet/Scheduling/Domain/Appointment/Appointment.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/AcmeVet/Scheduling/Domain/Appointment/Appointment.php -------------------------------------------------------------------------------- /src/AcmeVet/Scheduling/Domain/Appointment/AppointmentId.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/AcmeVet/Scheduling/Domain/Appointment/AppointmentId.php -------------------------------------------------------------------------------- /src/AcmeVet/Scheduling/Domain/Appointment/AppointmentRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/AcmeVet/Scheduling/Domain/Appointment/AppointmentRepository.php -------------------------------------------------------------------------------- /src/AcmeVet/Scheduling/Domain/Appointment/Exception/AppointmentLengthInvalid.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/AcmeVet/Scheduling/Domain/Appointment/Exception/AppointmentLengthInvalid.php -------------------------------------------------------------------------------- /src/AcmeVet/Scheduling/Domain/Appointment/Exception/CouldNotConfirmSlotException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/AcmeVet/Scheduling/Domain/Appointment/Exception/CouldNotConfirmSlotException.php -------------------------------------------------------------------------------- /src/AcmeVet/Scheduling/Domain/Appointment/Pet.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/AcmeVet/Scheduling/Domain/Appointment/Pet.php -------------------------------------------------------------------------------- /src/AcmeVet/Scheduling/Domain/Appointment/SlotConfirmationService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/AcmeVet/Scheduling/Domain/Appointment/SlotConfirmationService.php -------------------------------------------------------------------------------- /src/AcmeVet/Scheduling/Infrastructure/DbalAppointmentRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/AcmeVet/Scheduling/Infrastructure/DbalAppointmentRepository.php -------------------------------------------------------------------------------- /src/App/Controller/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/App/Controller/AppointmentController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/App/Controller/AppointmentController.php -------------------------------------------------------------------------------- /src/App/Entity/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/App/Form/Type/AppointmentType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/App/Form/Type/AppointmentType.php -------------------------------------------------------------------------------- /src/App/Kernel.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/src/App/Kernel.php -------------------------------------------------------------------------------- /src/App/Repository/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /symfony.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/symfony.lock -------------------------------------------------------------------------------- /templates/appointment/list.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/templates/appointment/list.html.twig -------------------------------------------------------------------------------- /templates/base.html.twig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/templates/base.html.twig -------------------------------------------------------------------------------- /tests/AcmeVet/Scheduling/Application/Command/Booking/AppointmentBookingTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/tests/AcmeVet/Scheduling/Application/Command/Booking/AppointmentBookingTest.php -------------------------------------------------------------------------------- /tests/AcmeVet/Scheduling/Domain/Appointment/AppointmentTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/tests/AcmeVet/Scheduling/Domain/Appointment/AppointmentTest.php -------------------------------------------------------------------------------- /tests/AcmeVet/Scheduling/Domain/Appointment/SlotConfirmationServiceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/tests/AcmeVet/Scheduling/Domain/Appointment/SlotConfirmationServiceTest.php -------------------------------------------------------------------------------- /tests/AcmeVet/Scheduling/Doubles/InMemoryAppointmentRepository.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/tests/AcmeVet/Scheduling/Doubles/InMemoryAppointmentRepository.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/tests/bootstrap.php -------------------------------------------------------------------------------- /translations/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/webpack.config.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nealio82/absolute-beginners-guide-to-ddd-with-symfony/HEAD/yarn.lock --------------------------------------------------------------------------------