PHP Class Symfony\Component\VarDumper\Dumper\HtmlDumper

Author: Nicolas Grekas ([email protected])
Inheritance: extends Symfony\Component\VarDumper\Dumper\CliDumper
Exibir arquivo Open project: symfony/symfony Class Usage Examples

Public Properties

Property Type Description
$defaultOutput

Protected Properties

Property Type Description
$colors
$dumpHeader
$dumpId
$dumpPrefix
$dumpSuffix
$headerIsDumped
$lastDepth
$styles

Public Methods

Method Description
__construct ( $output = null, $charset = null, $flags )
dump ( Symfony\Component\VarDumper\Cloner\Data $data, $output = null, array $extraDisplayOptions = [] )
enterHash ( Symfony\Component\VarDumper\Cloner\Cursor $cursor, $type, $class, $hasChild )
leaveHash ( Symfony\Component\VarDumper\Cloner\Cursor $cursor, $type, $class, $hasChild, $cut )
setDisplayOptions ( array $displayOptions ) Configures display options.
setDumpBoundaries ( string $prefix, string $suffix ) Sets an HTML prefix and suffix that will encapse every single dump.
setDumpHeader ( string $header ) Sets an HTML header that will be dumped once in the output stream.
setStyles ( array $styles )

Protected Methods

Method Description
dumpLine ( $depth, $endOfValue = false )
getDumpHeader ( ) Dumps the HTML header.
style ( $style, $value, $attr = [] )

Private Methods

Method Description
getSourceLink ( $file, $line )

Method Details

__construct() public method

public __construct ( $output = null, $charset = null, $flags )

dump() public method

public dump ( Symfony\Component\VarDumper\Cloner\Data $data, $output = null, array $extraDisplayOptions = [] )
$data Symfony\Component\VarDumper\Cloner\Data
$extraDisplayOptions array

dumpLine() protected method

protected dumpLine ( $depth, $endOfValue = false )

enterHash() public method

public enterHash ( Symfony\Component\VarDumper\Cloner\Cursor $cursor, $type, $class, $hasChild )
$cursor Symfony\Component\VarDumper\Cloner\Cursor

getDumpHeader() protected method

Dumps the HTML header.
protected getDumpHeader ( )

leaveHash() public method

public leaveHash ( Symfony\Component\VarDumper\Cloner\Cursor $cursor, $type, $class, $hasChild, $cut )
$cursor Symfony\Component\VarDumper\Cloner\Cursor

setDisplayOptions() public method

Configures display options.
public setDisplayOptions ( array $displayOptions )
$displayOptions array A map of display options to customize the behavior

setDumpBoundaries() public method

Sets an HTML prefix and suffix that will encapse every single dump.
public setDumpBoundaries ( string $prefix, string $suffix )
$prefix string The prepended HTML string
$suffix string The appended HTML string

setDumpHeader() public method

Sets an HTML header that will be dumped once in the output stream.
public setDumpHeader ( string $header )
$header string An HTML string

setStyles() public method

public setStyles ( array $styles )
$styles array

style() protected method

protected style ( $style, $value, $attr = [] )

Property Details

$colors protected_oe property

protected $colors

$defaultOutput public_oe static_oe property

public static $defaultOutput

$dumpHeader protected_oe property

protected $dumpHeader

$dumpId protected_oe property

protected $dumpId

$dumpPrefix protected_oe property

protected $dumpPrefix

$dumpSuffix protected_oe property

protected $dumpSuffix

$headerIsDumped protected_oe property

protected $headerIsDumped

$lastDepth protected_oe property

protected $lastDepth

$styles protected_oe property

protected $styles