فهرست منبع

make it possible to read the normalizerCache when inheriting

see https://github.com/FriendsOfSymfony/RestBundle/compare/lazy_normalizer_refactoring
Lukas Kahwe Smith 14 سال پیش
والد
کامیت
3248f02067
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 $encoders = array();
-    private $normalizerCache = array();
+    protected $normalizerCache = array();
 
     /**
      * @param mixed $value value to test