\Symfony\Component\VarDumper\ClonerDumperInterface

DumperInterface used by Data objects.

Summary

Methods
Constants
dumpScalar()
dumpString()
enterHash()
leaveHash()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

dumpScalar()

dumpScalar(\Symfony\Component\VarDumper\Cloner\Cursor  $cursor, string  $type, string|int|float|bool  $value) : mixed

Dumps a scalar value.

Parameters

\Symfony\Component\VarDumper\Cloner\Cursor $cursor
string $type

The PHP type of the value being dumped

string|int|float|bool $value

The scalar value being dumped

Returns

mixed —

dumpString()

dumpString(\Symfony\Component\VarDumper\Cloner\Cursor  $cursor, string  $str, bool  $bin, int  $cut) : mixed

Dumps a string.

Parameters

\Symfony\Component\VarDumper\Cloner\Cursor $cursor
string $str

The string being dumped

bool $bin

Whether $str is UTF-8 or binary encoded

int $cut

The number of characters $str has been cut by

Returns

mixed —

enterHash()

enterHash(\Symfony\Component\VarDumper\Cloner\Cursor  $cursor, int  $type, string|int  $class, bool  $hasChild) : mixed

Dumps while entering an hash.

Parameters

\Symfony\Component\VarDumper\Cloner\Cursor $cursor
int $type

A Cursor::HASH_* const for the type of hash

string|int $class

The object class, resource type or array count

bool $hasChild

When the dump of the hash has child item

Returns

mixed —

leaveHash()

leaveHash(\Symfony\Component\VarDumper\Cloner\Cursor  $cursor, int  $type, string|int  $class, bool  $hasChild, int  $cut) : mixed

Dumps while leaving an hash.

Parameters

\Symfony\Component\VarDumper\Cloner\Cursor $cursor
int $type

A Cursor::HASH_* const for the type of hash

string|int $class

The object class, resource type or array count

bool $hasChild

When the dump of the hash has child item

int $cut

The number of items the hash has been cut by

Returns

mixed —