comparison vendor/symfony/var-dumper/Caster/MongoCaster.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
11 11
12 namespace Symfony\Component\VarDumper\Caster; 12 namespace Symfony\Component\VarDumper\Caster;
13 13
14 use Symfony\Component\VarDumper\Cloner\Stub; 14 use Symfony\Component\VarDumper\Cloner\Stub;
15 15
16 @trigger_error('The '.__NAMESPACE__.'\MongoCaster class is deprecated since Symfony 3.4 and will be removed in 4.0.', E_USER_DEPRECATED);
17
16 /** 18 /**
17 * Casts classes from the MongoDb extension to array representation. 19 * Casts classes from the MongoDb extension to array representation.
18 * 20 *
19 * @author Nicolas Grekas <p@tchwork.com> 21 * @author Nicolas Grekas <p@tchwork.com>
22 *
23 * @deprecated since version 3.4, to be removed in 4.0.
20 */ 24 */
21 class MongoCaster 25 class MongoCaster
22 { 26 {
23 public static function castCursor(\MongoCursorInterface $cursor, array $a, Stub $stub, $isNested) 27 public static function castCursor(\MongoCursorInterface $cursor, array $a, Stub $stub, $isNested)
24 { 28 {