class Describer

Converts PHP values to internal representation.

Constants

HIDDEN_VALUE

Properties

int $maxDepth
int $maxLength
int $maxItems
Value[] $snapshot
bool $debugInfo
array $keysToHide
bool $location
callable[] $resourceExposers
array $objectExposers
(int|stdClass)[] $references

Methods

describe($var)

No description

Value|string
describeKey(string $key)

No description

addPropertyTo(Value $value, string $k, $v, $type = Value::PROP_VIRTUAL, int $refId = null)

No description

int|null
getReferenceId($arr, $key)

No description

Details

at line 54
stdClass describe($var)

Parameters

$var

Return Value

stdClass

at line 228
Value|string describeKey(string $key)

Parameters

string $key

Return Value

Value|string

at line 235
addPropertyTo(Value $value, string $k, $v, $type = Value::PROP_VIRTUAL, int $refId = null)

Parameters

Value $value
string $k
$v
$type
int $refId

at line 271
int|null getReferenceId($arr, $key)

Parameters

$arr
$key

Return Value

int|null