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, $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 34
static string
toLine(mixed $var)
Dumps information about a variable in readable format.
at line 111
static string
toPhp(mixed $var)
Dumps variable in PHP format.
at line 302
static string
dumpException(Throwable $e)
No description
at line 405
static string
saveOutput(string $testFile, $content, string $suffix = '')
Dumps data to folder 'output'.
at line 421
static string
color(string $color = '', string|null $s = null)
Applies color to string.
at line 437
static string
removeColors(string $s)
No description