Skip to content

Commit 852592d

Browse files
minor symfony#18588 [Serializer] Add deprecation notices (theofidry)
This PR was squashed before being merged into the 3.1-dev branch (closes symfony#18588). Discussion ---------- [Serializer] Add deprecation notices | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | symfony#17140 | License | MIT | Doc PR | none As discussed in symfony#18583, add deprecation notices to `master` instead. Commits ------- d3063ed [Serializer] Add deprecation notices
2 parents 2729c88 + d3063ed commit 852592d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/Serializer/Serializer.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,15 @@ class Serializer implements SerializerInterface, NormalizerInterface, Denormaliz
5656

5757
/**
5858
* @var array
59+
*
60+
* @deprecated since 3.1 will be removed in 4.0
5961
*/
6062
protected $normalizerCache = array();
6163

6264
/**
6365
* @var array
66+
*
67+
* @deprecated since 3.1 will be removed in 4.0
6468
*/
6569
protected $denormalizerCache = array();
6670

0 commit comments

Comments
 (0)