ZF2中存储自定义接口的最佳位置


The best place to store custom interfaces in ZF2

Zend Framework 2中存储自定义接口的最佳位置在哪里?例如"User"实体的接口

实际上用户实体的最佳位置是用户模块的实体目录(user ' entity 'UserInterface)。但是如果你构建不同的架构,那么模块驱动的最佳位置将是应用模块目录。IMHO