소스 검색

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