Apium Hub
When we talk about Domain Identifiers, we are talking about the ID of an entity in our domain. Many times, it may seem like a simple procedure to assign an ID to an instance of a domain entity, and therefore in many cases this repetitive task is assigned to the ORM that we are using (Doctrine in our case).
In this article we want to emphasize the importance of assigning the ID from our own domain, demonstrating the benefits that it brings to us and understanding the problems that can designate this task to an external agent such as an ORM ( Doctrine).
Before continuing, I recommend you, if you have not already done so, that you look at the first article on hexagonal architecture in the blog of Apiumhub since some of the concepts that are going to be discussed below are defined and explained there.
Hexagonal architecture
To read the full article click on the 'post' link at the top.