[VarDumper] deprecate MongoCaster

This commit is contained in:
Tobias Schultze 2017-10-05 14:34:03 +02:00
parent 6651af07c2
commit d535ff60c2
2 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,7 @@ CHANGELOG
----- -----
* added `AbstractCloner::setMinDepth()` function to ensure minimum tree depth * added `AbstractCloner::setMinDepth()` function to ensure minimum tree depth
* deprecated `MongoCaster`
2.7.0 2.7.0
----- -----

View File

@ -13,10 +13,14 @@ namespace Symfony\Component\VarDumper\Caster;
use Symfony\Component\VarDumper\Cloner\Stub; use Symfony\Component\VarDumper\Cloner\Stub;
@trigger_error('The '.__NAMESPACE__.'\MongoCaster class is deprecated since version 3.4 and will be removed in 4.0.', E_USER_DEPRECATED);
/** /**
* Casts classes from the MongoDb extension to array representation. * Casts classes from the MongoDb extension to array representation.
* *
* @author Nicolas Grekas <p@tchwork.com> * @author Nicolas Grekas <p@tchwork.com>
*
* @deprecated since version 3.4, to be removed in 4.0.
*/ */
class MongoCaster class MongoCaster
{ {