Documentation

EnumStub extends Stub
in package

Represents an enumeration of values.

Tags
author

Nicolas Grekas p@tchwork.com

Table of Contents

ARRAY_ASSOC  = 1
ARRAY_INDEXED  = 2
STRING_BINARY  = 1
STRING_UTF8  = 2
TYPE_ARRAY  = 3
TYPE_OBJECT  = 4
TYPE_REF  = 1
TYPE_RESOURCE  = 5
TYPE_STRING  = 2
$attr  : mixed
$class  : mixed
$cut  : mixed
$dumpKeys  : mixed
$handle  : mixed
$position  : mixed
$refCount  : mixed
$type  : mixed
$value  : mixed
$defaultProperties  : mixed
__construct()  : mixed

Constants

ARRAY_ASSOC

public mixed ARRAY_ASSOC = 1

ARRAY_INDEXED

public mixed ARRAY_INDEXED = 2

STRING_BINARY

public mixed STRING_BINARY = 1

STRING_UTF8

public mixed STRING_UTF8 = 2

TYPE_ARRAY

public mixed TYPE_ARRAY = 3

TYPE_OBJECT

public mixed TYPE_OBJECT = 4

TYPE_REF

public mixed TYPE_REF = 1

TYPE_RESOURCE

public mixed TYPE_RESOURCE = 5

TYPE_STRING

public mixed TYPE_STRING = 2

Properties

$attr

public mixed $attr = []

$class

public mixed $class = ''

$cut

public mixed $cut = 0

$handle

public mixed $handle = 0

$position

public mixed $position = 0

$refCount

public mixed $refCount = 0

$type

public mixed $type = self::TYPE_REF

$value

public mixed $value

$defaultProperties

private static mixed $defaultProperties = []

Methods

__construct()

public __construct(array<string|int, mixed> $values[, bool $dumpKeys = true ]) : mixed
Parameters
$values : array<string|int, mixed>
$dumpKeys : bool = true
Return values
mixed

Search results