Repository demonstates DDD implementation, done during DDD course.
- Aggregate
IssuedInovice
(also an entity) - Value Objects
Item
,Items
,Number
,Crown
- Domain interface
Series
- Repository
IssuedInvoices
- PDO implementation of
Series
- Doctrine implementation of
IssuedInvices
- A reasonable amout of tests (code coverage almost 100)
git clone [email protected]:simara-svatopluk/ddd-course-workshop.git
cd ddd-course-workshop
composer install
composer check
We don't live in caves, so always run tests, check PSR-2 and run static analysis.
Command composer check
does all of it.