PHP Class Symfony\Component\VarDumper\Dumper\HtmlDumper

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

Méthodes publiques

Свойство Type Description
$defaultOutput

Protected Properties

Свойство Type Description
$colors
$dumpHeader
$dumpId
$dumpPrefix
$dumpSuffix
$headerIsDumped
$lastDepth
$styles

Méthodes publiques

Méthode 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 )

Méthodes protégées

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

Private Methods

Méthode Description
getSourceLink ( $file, $line )

Method Details

__construct() public méthode

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

dump() public méthode

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

dumpLine() protected méthode

protected dumpLine ( $depth, $endOfValue = false )

enterHash() public méthode

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

getDumpHeader() protected méthode

Dumps the HTML header.
protected getDumpHeader ( )

leaveHash() public méthode

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

setDisplayOptions() public méthode

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

setDumpBoundaries() public méthode

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 méthode

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

setStyles() public méthode

public setStyles ( array $styles )
$styles array

style() protected méthode

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