我试图在我的项目中使用可翻译行为,我逐字逐句地跟踪文档,了解如何配置和使用此行为,但我得到了以下错误:
C:\wamp\www\Symfony\vendor\gedmo\doctrine-extensions\lib\Gedmo\Translatable\TranslatableListener.php第296行中的“属性区域设置不存在”
有人能帮忙吗?(预先谢谢:)
编辑:这是第296行:
$reflectionProperty = $class->getProperty(self::$configurations[$this->name][$meta->name]['locale']);发布于 2015-08-03 21:04:36
在我的例子中,所需的$locale字段是在实体的抽象超类中定义的--这基本上是很好的,但是它不能是private,而最多只能是protected。
https://stackoverflow.com/questions/27784841
复制相似问题