[Serializer] Add deprecation notices

This commit is contained in:
Théo FIDRY 2016-04-18 20:23:24 +01:00 committed by Nicolas Grekas
parent 3a165e551d
commit d3063ed288

View File

@ -56,11 +56,15 @@ class Serializer implements SerializerInterface, NormalizerInterface, Denormaliz
/**
* @var array
*
* @deprecated since 3.1 will be removed in 4.0
*/
protected $normalizerCache = array();
/**
* @var array
*
* @deprecated since 3.1 will be removed in 4.0
*/
protected $denormalizerCache = array();