浏览代码

Merge remote branch 'lsmith77/serializer'

* lsmith77/serializer:
  make it possible to read the normalizerCache when inheriting
Fabien Potencier 14 年之前
父节点
当前提交
0642b60079
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Symfony/Component/Serializer/Serializer.php

+ 1 - 1
src/Symfony/Component/Serializer/Serializer.php

@@ -30,7 +30,7 @@ class Serializer implements SerializerInterface
 {
 {
     private $normalizers = array();
     private $normalizers = array();
     private $encoders = array();
     private $encoders = array();
-    private $normalizerCache = array();
+    protected $normalizerCache = array();
 
 
     /**
     /**
      * @param mixed $value value to test
      * @param mixed $value value to test