refactor the given code with Domain-Driven Design patterns, principles and practices in mind
commit regularly, to be able to show your progress later on
the project can be built with Gradle, which allows you to immediately run the tests
./gradlew test
feel free to build, test and execute in any other way too
the bin folder contains docker scripts to run composer, php and phpunit in case you would need it, eg.
bin/composer install
bin/phpunit tests
feel free to run composer, tests or executable in any other way too