CodelyTV / php-ddd-example

🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 6

Home Page:https://pro.codely.tv/library/ddd-en-php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is correct that Infrastructure elements implement Domain elements?

borrown opened this issue · comments

I'm not sure if I should avoid using Domain objects into Implementation as you do in the next line:

I thought only Domain objects and Application objects could instantiate or implement Domain objects. In other words, Infrastructure only needs to know implementation signatures from the application layer where the infrastructure object will be used.