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

The best place to store custom interfaces in ZF2

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

的接口

实际上,用户实体的最佳位置是用户模块的实体目录 (User\Entity\UserInterface)。但是,如果您构建的体系结构不同于模块驱动的体系结构,则最佳位置将是应用程序模块目录。恕我直言