final class Describer

internal  
 

Converts PHP values to internal representation.

Constants

HiddenValue

private JsSafeInteger

Properties

int $maxDepth
int $maxLength
int $maxItems
Value[] $snapshot
bool $debugInfo
array $keysToHide
callable|null $scrubber
bool $location
callable[] $resourceExposers
array<string,callable> $objectExposers
(int|stdClass)[] $references

Methods

describe($var)

No description

Value|string
describeKey(string $key)

No description

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

No description

int|null
getReferenceId($arr, $key)

No description

Details

at line 61
stdClass describe($var)

No description

Parameters

$var

Return Value

stdClass

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

No description

Parameters

string $key

Return Value

Value|string

at line 262
addPropertyTo(Value $value, string $k, $v, $type = Value::PropertyVirtual, int|null $refId = null, string|null $class = null)

No description

Parameters

Value $value
string $k
$v
$type
int|null $refId
string|null $class

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

No description

Parameters

$arr
$key

Return Value

int|null