Cursor.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. const HASH_INDEXED = Stub::ARRAY_INDEXED;
  19. const HASH_ASSOC = Stub::ARRAY_ASSOC;
  20. const HASH_OBJECT = Stub::TYPE_OBJECT;
  21. 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 = array();
  38. }