class
Illuminate
/
Foundation
/
Http
/
HtmlDumper
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
HtmlDumper
Extends
-
Symfony\...\HtmlDumper
Uses
Constants
public
EXPANDED_SEPARATOR string
Where the source should be placed on "expanded" kind of dumps.
Default: 'class=sf-dump-expanded>'
public
NON_EXPANDED_SEPARATOR string
Where the source should be placed on "non expanded" kind of dumps.
Default: '
</pre><script>'
Properties
protected
$basePath string
The base path of the application.
Default: null
protected
$compiledViewPath string
The compiled view path of the application.
Default: null
protected
$dumping bool
If the dumper is currently dumping.
Default: false
Methods
public
__construct ( $basePath , $compiledViewPath ) : void
Create a new HTML dumper instance.
Parameters
- $basePath string
- $compiledViewPath string
public
static
register ( $basePath , $compiledViewPath ) : void
Create a new HTML dumper instance and register it as the default dumper.
Parameters
- $basePath string
- $compiledViewPath string
public
dumpWithSource ( Symfony\...\Data $data ) : void
Dump a variable with its source file / line.
Parameters
- $data Symfony\...\Data
protected
getDumpSourceContent ( ) : string
Get the dump's source HTML content.