Skip to content

Commit 3b4cfde

Browse files
theofidrynicolas-grekas
authored andcommitted
[Serializer] Add deprecation notices
1 parent ce9520e commit 3b4cfde

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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)