Browse Source

Merge pull request #243 from kbond/patch-1

Made TranslationProxy properties protected
Gediminas Morkevicius 13 năm trước cách đây
mục cha
commit
89e5200cfe
1 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 5
      lib/Gedmo/Translator/TranslationProxy.php

+ 5 - 5
lib/Gedmo/Translator/TranslationProxy.php

@@ -13,11 +13,11 @@ use Doctrine\Common\Collections\Collection;
  */
 class TranslationProxy
 {
-    private $locale;
-    private $translatable;
-    private $properties = array();
-    private $class;
-    private $coll;
+    protected $locale;
+    protected $translatable;
+    protected $properties = array();
+    protected $class;
+    protected $coll;
 
     /**
      * Initializes translations collection