ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
HtmlDumperOutput.php
Go to the documentation of this file.
1
<?
php
7
namespace
Whoops\Util
;
8
14
class
HtmlDumperOutput
15
{
16
private
$output
;
17
18
public
function
__invoke
($line, $depth)
19
{
20
// A negative depth means "end of dump"
21
if
($depth >= 0) {
22
// Adds a two spaces indentation to the line
23
$this->output .= str_repeat(
' '
, $depth) . $line .
"\n"
;
24
}
25
}
26
27
public
function
getOutput
()
28
{
29
return
$this->output
;
30
}
31
32
public
function
clear
()
33
{
34
$this->output = null;
35
}
36
}
Whoops\Util\HtmlDumperOutput
Used as output callable for Symfony::dump()
Definition:
HtmlDumperOutput.php:14
Whoops\Util\HtmlDumperOutput\clear
clear()
Definition:
HtmlDumperOutput.php:32
Whoops\Util\HtmlDumperOutput\__invoke
__invoke($line, $depth)
Definition:
HtmlDumperOutput.php:18
php
Whoops\Util
Whoops - php errors for cool kids.
Definition:
HtmlDumperOutput.php:7
Whoops\Util\HtmlDumperOutput\$output
$output
Definition:
HtmlDumperOutput.php:16
Whoops\Util\HtmlDumperOutput\getOutput
getOutput()
Definition:
HtmlDumperOutput.php:27
libs
composer
vendor
filp
whoops
src
Whoops
Util
HtmlDumperOutput.php
Generated on Thu Jan 16 2025 19:01:39 for ILIAS by
1.8.13 (using
Doxyfile
)