interface DumperInterface
DumperInterface used by Data objects.
dumpScalar(Cursor $cursor, string $type, string|int|float|bool $value) Dumps a scalar value. | ||
dumpString(Cursor $cursor, string $str, bool $bin, int $cut) Dumps a string. | ||
enterHash(Cursor $cursor, int $type, string $class, bool $hasChild) Dumps while entering an hash. | ||
leaveHash(Cursor $cursor, int $type, string $class, bool $hasChild, int $cut) Dumps while leaving an hash. |
Dumps a scalar value.
Cursor | $cursor | The Cursor position in the dump |
string | $type | The PHP type of the value being dumped |
string|int|float|bool | $value | The scalar value being dumped |
Dumps a string.
Cursor | $cursor | The Cursor position in the dump |
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 |
Dumps while entering an hash.
Cursor | $cursor | The Cursor position in the dump |
int | $type | A Cursor::HASH_* const for the type of hash |
string | $class | The object class, resource type or array count |
bool | $hasChild | When the dump of the hash has child item |
Dumps while leaving an hash.
Cursor | $cursor | The Cursor position in the dump |
int | $type | A Cursor::HASH_* const for the type of hash |
string | $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 |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/VarDumper/Cloner/DumperInterface.html