Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 Zend 框架中使用 Doctrine,我想使用现有的实体类作为值对象。
我能看到的主要障碍是如何处理映射。我不想丢失有关关联的信息。
有没有人有这方面的经验?
您可以在没有 Doctrine 的情况下将 Mappers 使用到模型文件夹中,但您使用的是实体。