Review: ORM Entities¶ The Doctrine 2 ORM implements the data mapper pattern: mapping a domain model to a relational database, separating the domain logic from the persistence layer. Not all objects in the domain model have to be persisted, and those entities that are don’t need to extend an abstract base class or interface; however, they must conform to these conventions: Entity classes must not b