Dumper
class Dumper
internal |
Dumps PHP variables.
Properties
static | $maxLength | ||
static | $maxDepth | ||
static | $dumpDir | ||
static | $maxPathSegments | ||
static | $pathSeparator |
Methods
static string
toLine(mixed $var)
Dumps information about a variable in readable format.
static string
toPhp(mixed $var)
Dumps variable in PHP format.
static string
static string
saveOutput(string $testFile, mixed $content, string $suffix = '')
Dumps data to folder 'output'.
static string
color(string $color = '', string|null $s = null)
Applies color to string.
static string
removeColors(string $s)
No description
Details
at line 29
static string
toLine(mixed $var)
Dumps information about a variable in readable format.
at line 104
static string
toPhp(mixed $var)
Dumps variable in PHP format.
at line 290
static string
dumpException(Throwable $e)
No description
at line 393
static string
saveOutput(string $testFile, mixed $content, string $suffix = '')
Dumps data to folder 'output'.
at line 409
static string
color(string $color = '', string|null $s = null)
Applies color to string.
at line 425
static string
removeColors(string $s)
No description