EnumStub

class EnumStub extends Stub

Represents an enumeration of values.

Constants

TYPE_REF
TYPE_STRING
TYPE_ARRAY
TYPE_OBJECT
TYPE_RESOURCE
STRING_BINARY
STRING_UTF8
ARRAY_ASSOC
ARRAY_INDEXED

Properties

$type from Stub
$class from Stub
$value from Stub
$cut from Stub
$handle from Stub
$refCount from Stub
$position from Stub
$attr from Stub
$dumpKeys

Methods

serialize() from Stub
unserialize($serialized) from Stub
__construct(array $values, bool $dumpKeys = true)

Details

serialize()

unserialize($serialized)

Parameters

$serialized

__construct(array $values, bool $dumpKeys = true)

Parameters

array $values
bool $dumpKeys

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/VarDumper/Caster/EnumStub.html