Php 使用Zend Guard的条令注释

Php 使用Zend Guard的条令注释,php,zend-framework,doctrine-orm,doctrine,zend-guard,Php,Zend Framework,Doctrine Orm,Doctrine,Zend Guard,我刚刚购买了Zend Guard以保护我的应用程序,准备部署。在第一个客户站点上尝试安装时,我们的应用程序似乎遇到了一个与原则相关的基本错误 Uncaught exception 'Doctrine\ORM\Mapping\MappingException' with message 'Class "Module\Entity\MyClass" sub class of "S2Common\Object\DoctrineObject" is not a valid entity or map

我刚刚购买了Zend Guard以保护我的应用程序,准备部署。在第一个客户站点上尝试安装时,我们的应用程序似乎遇到了一个与原则相关的基本错误

Uncaught exception 'Doctrine\ORM\Mapping\MappingException' with message 'Class 
"Module\Entity\MyClass" sub class of "S2Common\Object\DoctrineObject" is not a 
valid entity or mapped super class.'
(显然我已经更改了类名)

我想知道这是否是因为我们在条令中使用DocBlock注释,并且想知道这些注释是否被删除,或者条令是否试图在不使用Zend Guard模块的情况下直接读取它们

还有其他人有过这样的经历吗?有没有办法在部署之前生成缓存的元数据?我真不敢相信这件事以前没人想过

非常感谢您的帮助参见此


解决方案可能是设置
removePhpDoc=false

我也在使用orm注释和zend guard时遇到类似的问题。有更新吗?