f58a57a72761b0002765b2e2456cc28aa656394a
[yaffs-website] / vendor / symfony / var-dumper / Cloner / Stub.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Component\VarDumper\Cloner;
13
14 /**
15  * Represents the main properties of a PHP variable.
16  *
17  * @author Nicolas Grekas <p@tchwork.com>
18  */
19 class Stub
20 {
21     const TYPE_REF = 'ref';
22     const TYPE_STRING = 'string';
23     const TYPE_ARRAY = 'array';
24     const TYPE_OBJECT = 'object';
25     const TYPE_RESOURCE = 'resource';
26
27     const STRING_BINARY = 'bin';
28     const STRING_UTF8 = 'utf8';
29
30     const ARRAY_ASSOC = 'assoc';
31     const ARRAY_INDEXED = 'indexed';
32
33     public $type = self::TYPE_REF;
34     public $class = '';
35     public $value;
36     public $cut = 0;
37     public $handle = 0;
38     public $refCount = 0;
39     public $position = 0;
40 }