class Illuminate / Foundation / Console / CliDumper

CliDumper

Extends

    Symfony\...\CliDumper

Uses

Properties

protected

$basePath string

The base path of the application.

Default: null
protected

$output Symfony\...\OutputInterface

The output instance.

Default: null
protected

$compiledViewPath string

The compiled view path for the application.

Default: null
protected

$dumping bool

If the dumper is currently dumping.

Default: false

Methods

public

__construct ( $output , $basePath , $compiledViewPath ) : void

Create a new CLI dumper instance.

Parameters

  • $output Symfony\...\OutputInterface
  • $basePath string
  • $compiledViewPath string
public static

register ( $basePath , $compiledViewPath ) : void

Create a new CLI 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 console content.

protected

supportsColors ( ) : void

{@inheritDoc}