This is a simple Drupal 8 module example that use Decorator Pattern for log (even anything else).
I have added:
- Domain Driven Design.
- Command Handler like a Use Case (or Application Service).
- Domain Events
This is a simple Drupal 8 module example that use Decorator Pattern.
PHP