4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\VarDumper\Caster;
14 use Symfony\Component\VarDumper\Cloner\Stub;
17 * Represents an enumeration of values.
19 * @author Nicolas Grekas <p@tchwork.com>
21 class EnumStub extends Stub
23 public $dumpKeys = true;
25 public function __construct(array $values, $dumpKeys = true)
27 $this->value = $values;
28 $this->dumpKeys = $dumpKeys;