Pārlūkot izejas kodu

make it possible to read the normalizerCache when inheriting

see https://github.com/FriendsOfSymfony/RestBundle/compare/lazy_normalizer_refactoring
Lukas Kahwe Smith 14 gadi atpakaļ
vecāks
revīzija
3248f02067
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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