final class Describer

internal  
 

Converts PHP values to internal representation.

Constants

HiddenValue

private JsSafeInteger

Properties

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

Methods

describe($var)

No description

Value|string
describeKey(string $key)

No description

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

No description

int|null
getReferenceId($arr, $key)

No description

Details

at line 51
stdClass describe($var)

No description

Parameters

$var

Return Value

stdClass

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

No description

Parameters

string $key

Return Value

Value|string

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

No description

Parameters

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

Return Value

void

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

No description

Parameters

$arr
$key

Return Value

int|null