浏览代码

Set private properties in AbstractTranslation as protected

Dinoweb 14 年之前
父节点
当前提交
0e2ba0df80
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      lib/Gedmo/Translatable/Document/AbstractTranslation.php

+ 6 - 6
lib/Gedmo/Translatable/Document/AbstractTranslation.php

@@ -18,42 +18,42 @@ abstract class AbstractTranslation
      *
      * @Id
      */
-    private $id;
+    protected $id;
 
     /**
      * @var string $locale
      *
      * @String
      */
-    private $locale;
+    protected $locale;
 
     /**
      * @var string $objectClass
      *
      * @String
      */
-    private $objectClass;
+    protected $objectClass;
 
     /**
      * @var string $field
      *
      * @String
      */
-    private $field;
+    protected $field;
 
     /**
      * @var string $foreignKey
      *
      * @String(name="foreign_key")
      */
-    private $foreignKey;
+    protected $foreignKey;
 
     /**
      * @var text $content
      *
      * @String
      */
-    private $content;
+    protected $content;
 
     /**
      * Get id