interface DumperInterface
Same name in this branch
- 11.1.x vendor/symfony/dependency-injection/Dumper/DumperInterface.php \Symfony\Component\DependencyInjection\Dumper\DumperInterface
- 11.1.x vendor/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php \Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface
DumperInterface used by Data objects.
@author Nicolas Grekas <p@tchwork.com>
Hierarchy
- interface \Symfony\Component\VarDumper\Cloner\DumperInterface
Expanded class hierarchy of DumperInterface
All classes that implement DumperInterface
1 file declares its use of DumperInterface
- AbstractDumper.php in vendor/
symfony/ var-dumper/ Dumper/ AbstractDumper.php
File
-
vendor/
symfony/ var-dumper/ Cloner/ DumperInterface.php, line 19
Namespace
Symfony\Component\VarDumper\ClonerView source
interface DumperInterface {
/**
* Dumps a scalar value.
*/
public function dumpScalar(Cursor $cursor, string $type, string|int|float|bool|null $value) : void;
/**
* Dumps a string.
*
* @param string $str The string being dumped
* @param bool $bin Whether $str is UTF-8 or binary encoded
* @param int $cut The number of characters $str has been cut by
*/
public function dumpString(Cursor $cursor, string $str, bool $bin, int $cut) : void;
/**
* Dumps while entering an hash.
*
* @param int $type A Cursor::HASH_* const for the type of hash
* @param string|int|null $class The object class, resource type or array count
* @param bool $hasChild When the dump of the hash has child item
*/
public function enterHash(Cursor $cursor, int $type, string|int|null $class, bool $hasChild) : void;
/**
* Dumps while leaving an hash.
*
* @param int $type A Cursor::HASH_* const for the type of hash
* @param string|int|null $class The object class, resource type or array count
* @param bool $hasChild When the dump of the hash has child item
* @param int $cut The number of items the hash has been cut by
*/
public function leaveHash(Cursor $cursor, int $type, string|int|null $class, bool $hasChild, int $cut) : void;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
DumperInterface::dumpScalar | public | function | Dumps a scalar value. | 1 |
DumperInterface::dumpString | public | function | Dumps a string. | 1 |
DumperInterface::enterHash | public | function | Dumps while entering an hash. | 1 |
DumperInterface::leaveHash | public | function | Dumps while leaving an hash. | 1 |