# VarDumperInterface

Chevere\Interfaces\VarDump\VarDumperInterface

view source (opens new window)

# Description

Describes the component in charge of handling variable dumping process.

# Constants

# FILE

Type string

'_file'

# CLASS_REG

Type string

'_class'

# CLASS_ANON

Type string

'class@anonymous'

# OPERATOR

Type string

'_operator'

# FUNCTION

Type string

'_function'

# MODIFIERS

Type string

'_modifiers'

# VARIABLE

Type string

'_variable'

# EMPHASIS

Type string

'_emphasis'

# PROCESSORS

Type array

array (
  'boolean' => 'Chevere\\Components\\VarDump\\Processors\\VarDumpBooleanProcessor',
  'array' => 'Chevere\\Components\\VarDump\\Processors\\VarDumpArrayProcessor',
  'object' => 'Chevere\\Components\\VarDump\\Processors\\VarDumpObjectProcessor',
  'integer' => 'Chevere\\Components\\VarDump\\Processors\\VarDumpIntegerProcessor',
  'string' => 'Chevere\\Components\\VarDump\\Processors\\VarDumpStringProcessor',
  'float' => 'Chevere\\Components\\VarDump\\Processors\\VarDumpFloatProcessor',
  'null' => 'Chevere\\Components\\VarDump\\Processors\\VarDumpNullProcessor',
  'resource' => 'Chevere\\Components\\VarDump\\Processors\\VarDumpResourceProcessor',
)

# Methods

# __construct

Parameters


# writer

Provides access to the $writer instance.


# formatter

Provides access to the $formatter instance.


# dumpable

Provides access to the $dumpable instance.


# withIndent

Return an instance with the specified $indent.

Parameters

  • indent: int

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified $indent.


# indent

Provides access to the instance indent value.

Return

int


# indentString

Provides access to the instance indent string.

Return

string


# withDepth

Return an instance with the specified $depth.

Parameters

  • depth: int

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified $depth.


# depth

Provides access to the instance $depth.

Return

int


# withKnownObjects

Return an instance with the specified $known object IDs.

Parameters

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified $known object IDs.


# known

Provides access to the known object ids.


# withProcess

Process the dump.

Return

self


Last Updated: 5/1/2021, 2:31:10 PM