Sen descrición

Cursor.php 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /*
  3. * This file is part of the Symfony package.
  4. *
  5. * (c) Fabien Potencier <fabien@symfony.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Symfony\Component\VarDumper\Cloner;
  11. /**
  12. * Represents the current state of a dumper while dumping.
  13. *
  14. * @author Nicolas Grekas <p@tchwork.com>
  15. */
  16. class Cursor
  17. {
  18. public const HASH_INDEXED = Stub::ARRAY_INDEXED;
  19. public const HASH_ASSOC = Stub::ARRAY_ASSOC;
  20. public const HASH_OBJECT = Stub::TYPE_OBJECT;
  21. public const HASH_RESOURCE = Stub::TYPE_RESOURCE;
  22. public $depth = 0;
  23. public $refIndex = 0;
  24. public $softRefTo = 0;
  25. public $softRefCount = 0;
  26. public $softRefHandle = 0;
  27. public $hardRefTo = 0;
  28. public $hardRefCount = 0;
  29. public $hardRefHandle = 0;
  30. public $hashType;
  31. public $hashKey;
  32. public $hashKeyIsBinary;
  33. public $hashIndex = 0;
  34. public $hashLength = 0;
  35. public $hashCut = 0;
  36. public $stop = false;
  37. public $attr = [];
  38. public $skipChildren = false;
  39. }